Przeglądaj źródła

Merge branch 'dev-1.6.3' of province-qinghai/province-all into dev

adminGRP 4 miesięcy temu
rodzic
commit
ee10e1ceba

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

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