hanqingsong vor 4 Monaten
Ursprung
Commit
fec6bc7d87

+ 1 - 1
unis-plugin/unis-plugin-biz/src/main/java/com/unis/grainReserves/modular/gopsPlan/service/impl/GopsPlanServiceImpl.java

@@ -65,7 +65,7 @@ public class GopsPlanServiceImpl extends ServiceImpl<GopsPlanMapper, GopsPlan> i
65 65
     public Page<GopsPlan> page(GopsPlanPageParam gopsPlanPageParam) {
66 66
         QueryWrapper<GopsPlan> queryWrapper = new QueryWrapper<>();
67 67
         if (!ObjectUtils.isEmpty(gopsPlanPageParam.getOrgName())) {
68
-            queryWrapper.apply("oi.org_name LIKE CONCAT('%', " + gopsPlanPageParam.getOrgName() + ", '%')");
68
+            queryWrapper.apply("oi.org_name LIKE CONCAT('%', '" + gopsPlanPageParam.getOrgName() + "', '%')");
69 69
         }
70 70
         queryWrapper.lambda().orderByDesc(GopsPlan::getId);
71 71
         return gopsPlanMapper.pageList(CommonPageRequest.defaultPage(), queryWrapper);