xy hai 3 días
pai
achega
1b8d38adb8

+ 1 - 1
tz-module-pressure2/tz-module-pressure2-biz/src/main/java/cn/start/tz/module/pressure2/dal/mysql/appointmentconfirmrefuseyearitem/AppointmentConfirmRefuseYearItemMapper.java

@@ -95,7 +95,7 @@ public interface AppointmentConfirmRefuseYearItemMapper extends BaseMapperX<Appo
                 .eqIfPresent(AppointmentConfirmRefuseYearItemDO::getReasonDict, reqVO.getReasonDict())
                 .eqIfPresent(AppointmentConfirmRefuseYearItemDO::getBeDistrict, reqVO.getBeDistrict())
                 .eqIfPresent(AppointmentConfirmRefuseYearItemDO::getEquipType, reqVO.getEquipType())
-
+                .eqIfPresent(AppointmentConfirmRefuseYearItemDO::getEquipMainType, reqVO.getEquipMainType())
                 .orderByDesc(AppointmentConfirmRefuseYearItemDO::getCreateTime);
 
         return selectJoinPage(reqVO,AppointmentConfirmRefuseYearItemRespVO.class,recordDOMPJLambdaWrapper);

+ 6 - 0
tz-module-pressure2/tz-module-pressure2-biz/src/main/resources/mapper/appointmentconfirmrefuseyearitem/AppointmentConfirmRefuseYearItemMapper.xml

@@ -94,6 +94,9 @@
         <if test="rejectionSource != null">
             AND t1.rejection_Source = #{rejectionSource}
         </if>
+        <if test="equipMainType != null">
+            AND t1.EQUIP_MAIN_TYPE = #{equipMainType}
+        </if>
     </sql>
 
     <!-- 拒绝年检表查询条件 -->
@@ -177,6 +180,9 @@
         <if test="rejectionSource != null">
             AND t2.rejection_Source = #{rejectionSource}
         </if>
+        <if test="equipMainType != null">
+            AND t2.EQUIP_MAIN_TYPE = #{equipMainType}
+        </if>
     </sql>
 
     <!--