Browse Source

bug修改-07

hanqingsong 4 months ago
parent
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
     public Page<GopsPlan> page(GopsPlanPageParam gopsPlanPageParam) {
65
     public Page<GopsPlan> page(GopsPlanPageParam gopsPlanPageParam) {
66
         QueryWrapper<GopsPlan> queryWrapper = new QueryWrapper<>();
66
         QueryWrapper<GopsPlan> queryWrapper = new QueryWrapper<>();
67
         if (!ObjectUtils.isEmpty(gopsPlanPageParam.getOrgName())) {
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
         queryWrapper.lambda().orderByDesc(GopsPlan::getId);
70
         queryWrapper.lambda().orderByDesc(GopsPlan::getId);
71
         return gopsPlanMapper.pageList(CommonPageRequest.defaultPage(), queryWrapper);
71
         return gopsPlanMapper.pageList(CommonPageRequest.defaultPage(), queryWrapper);