打印模板isEnable

This commit is contained in:
2023-03-08 11:30:02 +08:00
parent 1684075a9c
commit 5f5a60eb29
15 changed files with 39 additions and 17 deletions

View File

@@ -47,9 +47,9 @@ public class PrintModelServiceBizImpl extends CrudServiceImpl<PrintModelMapper,
Integer lineBody = Integer.parseInt(params.get("lineBody").toString());
wrapper.eq(ObjectUtils.isNotNull(lineBody), PrintModel.LINE_BODY, lineBody);
}
if(params.get("enabled")!=null) {
Integer enabled = Integer.parseInt(params.get("enabled").toString());
wrapper.eq(ObjectUtils.isNotNull(enabled), PrintModel.ENABLED, enabled);
if(params.get("isEnable")!=null) {
Integer isEnable = Integer.parseInt(params.get("isEnable").toString());
wrapper.eq(ObjectUtils.isNotNull(isEnable), PrintModel.IS_ENABLE, isEnable);
}
return wrapper;