فهرست منبع

feat: incloud status = 1 base on sub_to_gig_time

shc 1 سال پیش
والد
کامیت
da71efdf1c
1فایلهای تغییر یافته به همراه3 افزوده شده و 3 حذف شده
  1. 3 3
      hnqz-upms/hnqz-upms-biz/src/main/resources/mapper/SysDeptSubMapper.xml

+ 3 - 3
hnqz-upms/hnqz-upms-biz/src/main/resources/mapper/SysDeptSubMapper.xml

@@ -29,7 +29,7 @@
         WHERE t.subject_location = #{query.location, jdbcType=VARCHAR}
         AND  (t.settle_note_status IN ('2', '9', '0')
         OR (t.settle_note_status = '3' AND (t.sub_to_gig_time BETWEEN #{query.startTime,jdbcType=TIMESTAMP} AND #{query.endTime,jdbcType=TIMESTAMP}))
-        OR (t.settle_note_status = '1' AND (t.create_time BETWEEN #{query.startTime,jdbcType=TIMESTAMP} AND #{query.endTime,jdbcType=TIMESTAMP}) ))
+        OR (t.settle_note_status = '1' AND (t.sub_to_gig_time BETWEEN #{query.startTime,jdbcType=TIMESTAMP} AND #{query.endTime,jdbcType=TIMESTAMP}) ))
         AND t.id_card_number IN
         <foreach item="item" index="index" collection="query.idCards" open="(" separator="," close=")">
             #{item}
@@ -51,7 +51,7 @@
         WHERE t.subject_location = #{query.location, jdbcType=VARCHAR}
         AND (t.settle_note_status IN ('2', '9', '0')
         OR (t.settle_note_status = '3' AND (t.sub_to_gig_time BETWEEN #{query.startTime,jdbcType=TIMESTAMP} AND #{query.endTime,jdbcType=TIMESTAMP}))
-        OR (t.settle_note_status = '1' AND (t.create_time BETWEEN #{query.startTime,jdbcType=TIMESTAMP} AND #{query.endTime,jdbcType=TIMESTAMP} ))
+        OR (t.settle_note_status = '1' AND (t.sub_to_gig_time BETWEEN #{query.startTime,jdbcType=TIMESTAMP} AND #{query.endTime,jdbcType=TIMESTAMP} ))
         AND t.user_id IN
         <foreach item="item" index="index" collection="query.userIds" open="(" separator="," close=")">
             #{item}
@@ -80,7 +80,7 @@
         WHERE
         (t.settle_note_status IN ('2', '9', '0')
         OR (t.settle_note_status = '3' AND (t.sub_to_gig_time BETWEEN #{query.startTime,jdbcType=TIMESTAMP} AND #{query.endTime,jdbcType=TIMESTAMP}))
-        OR (t.settle_note_status = '1' AND (t.create_time BETWEEN #{query.startTime,jdbcType=TIMESTAMP} AND #{query.endTime,jdbcType=TIMESTAMP}) ))
+        OR (t.settle_note_status = '1' AND (t.sub_to_gig_time BETWEEN #{query.startTime,jdbcType=TIMESTAMP} AND #{query.endTime,jdbcType=TIMESTAMP}) ))
         AND t.id_card_number IN
         <foreach item="item" index="index" collection="query.idCards" open="(" separator="," close=")">
             #{item}