Преглед изворни кода

考试列表查询接口处理时分秒后缀的时间差

wy пре 1 месец
родитељ
комит
67b3326e83

+ 4 - 4
ibps-provider-root/modules/provider-business/src/main/resources/com/lc/ibps/klimsibps/mapping/UpdateDataTableMapper.xml

@@ -337,16 +337,16 @@
                 AND FIND_IN_SET(ex.ti_ku_id_,#{map.tiKuId})
             </if>
             <if test="@o.Ognl@isNotEmpty(map.chuangJianShiJUp)">
-                AND (ex.chuang_jian_shi_j >= #{map.chuangJianShiJUp} OR ex.chuang_jian_shi_j is null)
+                AND (ex.chuang_jian_shi_j >= CONCAT(#{map.chuangJianShiJUp},' 00:00:00') OR ex.chuang_jian_shi_j is null)
             </if>
             <if test="@o.Ognl@isNotEmpty(map.chuangJianShiJLower)">
-                AND (ex.chuang_jian_shi_j <![CDATA[ <= ]]> #{map.chuangJianShiJLower} OR ex.chuang_jian_shi_j is null)
+                AND (ex.chuang_jian_shi_j <![CDATA[ <= ]]> CONCAT(#{map.chuangJianShiJLower},' 23:59:59') OR ex.chuang_jian_shi_j is null)
             </if>
             <if test="@o.Ognl@isNotEmpty(map.faBuShiJianUp)">
-                AND (ex.fa_bu_shi_jian_ >= #{map.faBuShiJianUp} OR ex.chuang_jian_shi_j is null)
+                AND (ex.fa_bu_shi_jian_ >= CONCAT(#{map.faBuShiJianUp},' 00:00:00') OR ex.chuang_jian_shi_j is null)
             </if>
             <if test="@o.Ognl@isNotEmpty(map.faBuShiJianLower)">
-                AND (ex.fa_bu_shi_jian_ <![CDATA[ <= ]]> #{map.faBuShiJianLower} OR ex.chuang_jian_shi_j is null)
+                AND (ex.fa_bu_shi_jian_ <![CDATA[ <= ]]> CONCAT(#{map.faBuShiJianLower},' 23:59:59') OR ex.chuang_jian_shi_j is null)
             </if>
         </where>
     </select>