This commit is contained in:
2023-02-28 10:19:12 +08:00
parent 56b8b82fc2
commit 8c0e43d9f7
2 changed files with 2 additions and 2 deletions

View File

@@ -40,7 +40,7 @@ public class PrintModelServiceBizImpl extends CrudServiceImpl<PrintModelMapper,
wrapper.like(StringUtils.isNotBlank(name), PrintModel.NAME, name);
if(params.get("type")!=null) {
Integer type = Integer.parseInt(params.get("type").toString());
wrapper.eq(ObjectUtils.isNotNull(type), PrintModel.LINE_BODY, type);
wrapper.eq(ObjectUtils.isNotNull(type), PrintModel.TYPE, type);
}
if(params.get("lineBody")!=null) {
Integer lineBody = Integer.parseInt(params.get("lineBody").toString());