checkbox控制
This commit is contained in:
parent
d003e7a135
commit
5eabc87fb3
|
|
@ -2,6 +2,8 @@ package com.engine.organization.service.impl;
|
||||||
|
|
||||||
import com.api.browser.bean.SearchConditionGroup;
|
import com.api.browser.bean.SearchConditionGroup;
|
||||||
import com.api.browser.bean.SearchConditionItem;
|
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.cloudstore.eccom.result.WeaResultMsg;
|
||||||
import com.engine.core.impl.Service;
|
import com.engine.core.impl.Service;
|
||||||
import com.engine.organization.component.OrganizationWeaTable;
|
import com.engine.organization.component.OrganizationWeaTable;
|
||||||
|
|
@ -42,6 +44,10 @@ public class SchemeServiceImpl extends Service implements SchemeService {
|
||||||
String sqlWhere = buildSqlWhere(params);
|
String sqlWhere = buildSqlWhere(params);
|
||||||
table.setSqlwhere(sqlWhere);
|
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);
|
WeaResultMsg result = new WeaResultMsg(false);
|
||||||
result.putAll(table.makeDataResult());
|
result.putAll(table.makeDataResult());
|
||||||
result.success();
|
result.success();
|
||||||
|
|
|
||||||
|
|
@ -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";
|
||||||
|
}
|
||||||
|
}
|
||||||
Loading…
Reference in New Issue