Pre Merge pull request !26 from reset/feature/cl

pull/26/MERGE
reset 3 years ago committed by Gitee
commit a757c41742
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

@ -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();

@ -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…
Cancel
Save