|
@@ -147,6 +147,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
DATE( a.create_time ) BETWEEN DATE_SUB(CURDATE(), INTERVAL 7 DAY) AND CURDATE()
|
|
|
)
|
|
|
<if test="appOrg != '0000'">AND ( c.app_parent_org = #{appOrg} OR c.app_org = #{appOrg} )</if>
|
|
|
+ <if test="status != null">AND a.status = #{status}</if>
|
|
|
order by a.create_time desc
|
|
|
</select>
|
|
|
|
|
@@ -166,10 +167,11 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
AND b.del_flag = 0
|
|
|
AND c.del_flag = '0'
|
|
|
AND (
|
|
|
- DATE( a.create_time ) BETWEEN DATE( #{arg1} )
|
|
|
+ DATE( a.create_time ) BETWEEN DATE( #{date} )
|
|
|
AND CURDATE()
|
|
|
)
|
|
|
- <if test="arg0 != '0000'">AND ( c.app_parent_org = #{arg0} OR c.app_org = #{arg0} )</if>
|
|
|
+ <if test="appOrg != '0000'">AND ( c.app_parent_org = #{appOrg} OR c.app_org = #{appOrg} )</if>
|
|
|
+ <if test="status != null">AND a.status = #{status}</if>
|
|
|
order by a.create_time desc
|
|
|
</select>
|
|
|
</mapper>
|