ZeroLiYi месяцев назад: 4
Родитель
Сommit
03abfc4567

+ 1 - 1
unis-plugin/unis-plugin-biz/src/main/java/com/unis/finishedGrainSupervision/modular/mapper/mapping/DataKcglKcswDefaultCountMapper.xml

@@ -24,7 +24,7 @@
24 24
         left join province_all.biz_unit_info  bui on oi.unit_info_id=bui.id
25 25
         left join province_all.dev_dict dq  on dq.ID =bui.zcdz_city
26 26
         <if test="ew.sqlSegment != null and ew.sqlSegment != ''">
27
-            and ${ew.sqlSegment}
27
+            where ${ew.sqlSegment}
28 28
         </if>
29 29
     </select>
30 30
     <select id="statisticsGrainGrade" resultType="java.util.Map">

+ 1 - 1
unis-plugin/unis-plugin-biz/src/main/java/com/unis/finishedGrainSupervision/modular/service/impl/DataKcglKcswDefaultCounterviceImpl.java

@@ -57,7 +57,7 @@ public class DataKcglKcswDefaultCounterviceImpl  implements DataKcglKcswDefaultC
57 57
         QueryWrapper<DataKcglKcswDefault> queryWrapper = new QueryWrapper<>();
58 58
 
59 59
         if(StringUtils.isNotBlank(dateCrkywCplcrkPageParam.getArea())){
60
-            queryWrapper.like("dq.DICT_LABEL",dateCrkywCplcrkPageParam.getArea() );
60
+            queryWrapper.eq("dq.id",dateCrkywCplcrkPageParam.getArea() );
61 61
         }
62 62
         if(StringUtils.isNotBlank(dateCrkywCplcrkPageParam.getOrgName())){
63 63
             queryWrapper.like("oi.org_name",dateCrkywCplcrkPageParam.getOrgName() );