|
|
@@ -506,10 +506,10 @@
|
|
506
|
506
|
</if>
|
|
507
|
507
|
|
|
508
|
508
|
<if test="rwqsr != null and rwqsr != ''" >
|
|
509
|
|
- and to_char(jc.rwqsr,'yyyy-MM-dd') >= #{rwqsr}
|
|
|
509
|
+ and DATE_FORMAT(jc.rwqsr,'%Y-%m-%d') >= #{rwqsr}
|
|
510
|
510
|
</if>
|
|
511
|
511
|
<if test="rwjsr != null and rwjsr != ''" >
|
|
512
|
|
- and to_char(jc.rwjsr,'yyyy-MM-dd') <= #{rwjsr}
|
|
|
512
|
+ and DATE_FORMAT(jc.rwjsr,'%Y-%m-%d') <= #{rwjsr}
|
|
513
|
513
|
</if>
|
|
514
|
514
|
<!--<if test="orgId != null and orgId != ''" >
|
|
515
|
515
|
and jc.org_id LIKE concat(CONCAT('%',#{orgId,jdbcType=VARCHAR}) ,'%')
|
|
|
@@ -524,7 +524,7 @@
|
|
524
|
524
|
</foreach>
|
|
525
|
525
|
</if>
|
|
526
|
526
|
and(
|
|
527
|
|
- jc.org_id like '%' || #{orgId,jdbcType=VARCHAR} || '%'
|
|
|
527
|
+ jc.org_id like '%${orgId,jdbcType=VARCHAR}%'
|
|
528
|
528
|
<if test="jhIds != null and jhIds != ''">
|
|
529
|
529
|
or jc.jh_id in
|
|
530
|
530
|
<foreach collection="jhIds" item="item" index="index" open="(" separator="," close= ")" >
|
|
|
@@ -588,10 +588,10 @@
|
|
588
|
588
|
</if>
|
|
589
|
589
|
|
|
590
|
590
|
<if test="rwqsr != null and rwqsr != ''" >
|
|
591
|
|
- and to_char(jc.rwqsr,'yyyy-MM-dd') >= #{rwqsr}
|
|
|
591
|
+ and DATE_FORMAT(jc.rwqsr,'%Y-%m-%d') >= #{rwqsr}
|
|
592
|
592
|
</if>
|
|
593
|
593
|
<if test="rwjsr != null and rwjsr != ''" >
|
|
594
|
|
- and to_char(jc.rwjsr,'yyyy-MM-dd') <= #{rwjsr}
|
|
|
594
|
+ and DATE_FORMAT(jc.rwjsr,'%Y-%m-%d') <= #{rwjsr}
|
|
595
|
595
|
</if>
|
|
596
|
596
|
<if test="orgId != null and orgId != ''" >
|
|
597
|
597
|
<!--and jc.org_id LIKE concat#(CONCAT('%',#{orgId,jdbcType=VARCHAR}) ,'%')-->
|
|
|
@@ -679,7 +679,7 @@
|
|
679
|
679
|
</select>
|
|
680
|
680
|
|
|
681
|
681
|
<delete id="backlog" parameterType="java.lang.String">
|
|
682
|
|
- delete from db_utf8:ty_backlog
|
|
|
682
|
+ delete from db_utf8.ty_backlog
|
|
683
|
683
|
where item_id like concat(CONCAT('%',#{id,jdbcType=VARCHAR}) ,'%')
|
|
684
|
684
|
</delete>
|
|
685
|
685
|
</mapper>
|