Commit aad85218612f41391e114de059f31cb68b8d9a31
1 parent
21b7e55608
Exists in
master
and in
6 other branches
update
Showing 1 changed file with 1 additions and 6 deletions
platform-biz-service/src/main/java/com/lyms/platform/permission/service/impl/LisServiceImpl.java
View file @
aad8521
... | ... | @@ -33,7 +33,7 @@ |
33 | 33 | for(LisReportModel model : lisList) |
34 | 34 | { |
35 | 35 | List<LisReportModel> dbLis = masterLisMapper.queryLisDataByModel(model); |
36 | - if (CollectionUtils.isNotEmpty(dbLis)) | |
36 | + if (CollectionUtils.isEmpty(dbLis)) | |
37 | 37 | { |
38 | 38 | masterLisMapper.saveLisData(model); |
39 | 39 | List<LisReportItemModel> items = model.getItems(); |
... | ... | @@ -46,11 +46,6 @@ |
46 | 46 | } |
47 | 47 | } |
48 | 48 | return new BaseResponse().setErrorcode(ErrorCodeConstants.SUCCESS).setErrormsg("成功"); |
49 | - } | |
50 | - | |
51 | - public static void main(String[] args) { | |
52 | - List<LisReportModel> lisList = JsonUtil.jkstr2Obj("[{\"title\":\"标题\",\"type\",\"asdfa\"},{\"title\":\"basdf\",\"type\",\"ccc\"}]", List.class); | |
53 | - System.out.println(JsonUtil.obj2Str(lisList)); | |
54 | 49 | } |
55 | 50 | } |