fix:定时任务相关功能完善,自测问题修复。
This commit is contained in:
@@ -62,6 +62,13 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
<if test="startTime!=null and startTime !=''">
|
||||
and to_char(a.create_time, 'yyyy-MM-dd')>=#{startTime}
|
||||
</if>
|
||||
<if test="endDateTime!=null">
|
||||
and #{endDateTime}>a.create_time
|
||||
</if>
|
||||
<if test="startDateTime!=null">
|
||||
and a.create_time>=#{startDateTime}
|
||||
</if>
|
||||
|
||||
</where>
|
||||
order by a.create_time desc
|
||||
</select>
|
||||
|
||||
@@ -16,6 +16,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
<result property="updateBy" column="update_by" />
|
||||
<result property="updateTime" column="update_time" />
|
||||
<result property="delFlag" column="del_flag" />
|
||||
<result property="billState" column="bill_state" />
|
||||
<result property="bankName" column="bank_name" />
|
||||
<result property="bankCode" column="bank_code" />
|
||||
</resultMap>
|
||||
@@ -33,6 +34,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
a.update_by,
|
||||
a.update_time,
|
||||
a.del_flag,
|
||||
a.bill_state,
|
||||
bc."name" as bank_name,
|
||||
bc.code as bank_code
|
||||
from
|
||||
@@ -47,12 +49,18 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
a.del_flag='0'
|
||||
<if test="name != null and name != ''"> and a.name like '%'|| #{name}||'%'</if>
|
||||
<if test="creditCardId != null "> and a.credit_card_id = #{creditCardId}</if>
|
||||
<if test="billState != null and billState != ''"> and a.bill_state = #{billState}</if>
|
||||
<if test="startMonth!=null and startMonth !=''">
|
||||
and to_char(a.bill_date, 'yyyy-MM')>=#{startMonth}
|
||||
</if>
|
||||
<if test="endMonth!=null and endMonth !=''">
|
||||
and #{endMonth}>=to_char(a.bill_date, 'yyyy-MM')
|
||||
</if>
|
||||
<if test="billDate!=null and billDate !=''">
|
||||
and #{billDate}=to_char(a.bill_date, 'yyyy-MM-dd')
|
||||
</if>
|
||||
|
||||
|
||||
</where>
|
||||
order by a.bill_date desc
|
||||
</select>
|
||||
@@ -76,6 +84,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
<if test="updateBy != null">update_by,</if>
|
||||
<if test="updateTime != null">update_time,</if>
|
||||
<if test="delFlag != null">del_flag,</if>
|
||||
<if test="billState != null">bill_state,</if>
|
||||
</trim>
|
||||
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
||||
<if test="id != null">#{id},</if>
|
||||
@@ -89,6 +98,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
<if test="updateBy != null">#{updateBy},</if>
|
||||
<if test="updateTime != null">#{updateTime},</if>
|
||||
<if test="delFlag != null">#{delFlag},</if>
|
||||
<if test="billState != null">#{billState},</if>
|
||||
</trim>
|
||||
</insert>
|
||||
|
||||
@@ -105,6 +115,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
<if test="updateBy != null">update_by = #{updateBy},</if>
|
||||
<if test="updateTime != null">update_time = #{updateTime},</if>
|
||||
<if test="delFlag != null">del_flag = #{delFlag},</if>
|
||||
<if test="billState != null">bill_state = #{billState},</if>
|
||||
</trim>
|
||||
where id = #{id}
|
||||
</update>
|
||||
|
||||
Reference in New Issue
Block a user