diff --git a/src/com/engine/organization/service/impl/SchemeServiceImpl.java b/src/com/engine/organization/service/impl/SchemeServiceImpl.java index 3eac99ef..1927ab41 100644 --- a/src/com/engine/organization/service/impl/SchemeServiceImpl.java +++ b/src/com/engine/organization/service/impl/SchemeServiceImpl.java @@ -2,6 +2,8 @@ package com.engine.organization.service.impl; import com.api.browser.bean.SearchConditionGroup; import com.api.browser.bean.SearchConditionItem; +import com.cloudstore.eccom.pc.table.WeaTableCheckboxpopedom; +import com.cloudstore.eccom.pc.table.WeaTablePopedom; import com.cloudstore.eccom.result.WeaResultMsg; import com.engine.core.impl.Service; import com.engine.organization.component.OrganizationWeaTable; @@ -42,6 +44,10 @@ public class SchemeServiceImpl extends Service implements SchemeService { String sqlWhere = buildSqlWhere(params); table.setSqlwhere(sqlWhere); + WeaTableCheckboxpopedom checkboxpopedom = new WeaTableCheckboxpopedom(); + checkboxpopedom.setShowmethod("com.engine.organization.util.ConfigTrans.getCheckBoxPopedom"); + checkboxpopedom.setPopedompara("column:forbidden_tag"); + table.setCheckboxpopedom(checkboxpopedom); WeaResultMsg result = new WeaResultMsg(false); result.putAll(table.makeDataResult()); result.success(); diff --git a/src/com/engine/organization/util/ConfigTrans.java b/src/com/engine/organization/util/ConfigTrans.java new file mode 100644 index 00000000..e1152be0 --- /dev/null +++ b/src/com/engine/organization/util/ConfigTrans.java @@ -0,0 +1,17 @@ +package com.engine.organization.util; + +/** + * @Author weaver_cl + * @Description: TODO + * @Date 2022/5/27 + * @Version V1.0 + **/ +public class ConfigTrans { + + public static String getCheckBoxPopedom(String status) { + if ("0".equals(status)) + return "true"; + else + return "false"; + } +}