Commit 23d83cf2 by huluobin

update

parent 035c615f
...@@ -25,6 +25,4 @@ public class CheckCostListReq { ...@@ -25,6 +25,4 @@ public class CheckCostListReq {
@ApiModelProperty("1- 全部 2-待审核 3-已手动审核 4-已自动审核") @ApiModelProperty("1- 全部 2-待审核 3-已手动审核 4-已自动审核")
Integer status; Integer status;
private String costNo; private String costNo;
private String bankCardUser;
} }
...@@ -470,8 +470,8 @@ ...@@ -470,8 +470,8 @@
left join cost_current_reviewer t3 on t1.cost_no = t3.cost_no and t3.oa_user_id = #{req.userid} left join cost_current_reviewer t3 on t1.cost_no = t3.cost_no and t3.oa_user_id = #{req.userid}
where t1.cost_status = 6 where t1.cost_status = 6
and t3.id is not null and t3.id is not null
<if test="req.bankCardUser !=null and req.bankCardUser !=''"> <if test="req.costNo !=null and req.costNo !=''">
and t1.bank_card_user like concat('%',#{req.bankCardUser},'%') and (t1.bank_card_user like concat('%',#{req.costNo},'%') or t1.cost_no = #{req.costNo})
</if> </if>
</select> </select>
...@@ -488,8 +488,8 @@ ...@@ -488,8 +488,8 @@
left join cost_current_reviewer t3 on t1.cost_no = t3.cost_no and t3.oa_user_id = #{req.userid} left join cost_current_reviewer t3 on t1.cost_no = t3.cost_no and t3.oa_user_id = #{req.userid}
where t1.cost_status = 6 where t1.cost_status = 6
and t3.id is not null and t3.id is not null
<if test="req.bankCardUser !=null and req.bankCardUser !=''"> <if test="req.costNo !=null and req.costNo !=''">
and t1.bank_card_user like concat('%',#{req.bankCardUser},'%') and (t1.bank_card_user like concat('%',#{req.costNo},'%') or t1.cost_no = #{req.costNo})
</if> </if>
</select> </select>
...@@ -501,8 +501,8 @@ ...@@ -501,8 +501,8 @@
left join cost_current_reviewer t3 on t1.cost_no = t3.cost_no and t3.oa_user_id = #{req.userid} left join cost_current_reviewer t3 on t1.cost_no = t3.cost_no and t3.oa_user_id = #{req.userid}
where t1.cost_status not in (0, 3, 5) where t1.cost_status not in (0, 3, 5)
and t2.id is not null and t2.id is not null
<if test="req.bankCardUser !=null and req.bankCardUser !=''"> <if test="req.costNo !=null and req.costNo !=''">
and t1.bank_card_user like concat('%',#{req.bankCardUser},'%') and (t1.bank_card_user like concat('%',#{req.costNo},'%') or t1.cost_no = #{req.costNo})
</if> </if>
</select> </select>
...@@ -514,8 +514,8 @@ ...@@ -514,8 +514,8 @@
left join cost_current_reviewer t3 on t1.cost_no = t3.cost_no and t3.oa_user_id = #{req.userid} left join cost_current_reviewer t3 on t1.cost_no = t3.cost_no and t3.oa_user_id = #{req.userid}
where t1.cost_status not in (0, 3, 5) where t1.cost_status not in (0, 3, 5)
and t2.id is not null and t2.id is not null
<if test="req.bankCardUser !=null and req.bankCardUser !=''"> <if test="req.costNo !=null and req.costNo !=''">
and t1.bank_card_user like concat('%',#{req.bankCardUser},'%') and (t1.bank_card_user like concat('%',#{req.costNo},'%') or t1.cost_no = #{req.costNo})
</if> </if>
</select> </select>
...@@ -526,8 +526,8 @@ ...@@ -526,8 +526,8 @@
left join cost_current_reviewer t3 on t1.cost_no = t3.cost_no and t3.oa_user_id = #{req.userid} left join cost_current_reviewer t3 on t1.cost_no = t3.cost_no and t3.oa_user_id = #{req.userid}
where t1.cost_status = 6 where t1.cost_status = 6
and t3.id is not null and t3.id is not null
<if test="req.bankCardUser !=null and req.bankCardUser !=''"> <if test="req.costNo !=null and req.costNo !=''">
and t1.bank_card_user like concat('%',#{req.bankCardUser},'%') and (t1.bank_card_user like concat('%',#{req.costNo},'%') or t1.cost_no = #{req.costNo})
</if> </if>
</select> </select>
...@@ -538,8 +538,8 @@ ...@@ -538,8 +538,8 @@
left join cost_current_reviewer t3 on t1.cost_no = t3.cost_no and t3.oa_user_id = #{req.userid} left join cost_current_reviewer t3 on t1.cost_no = t3.cost_no and t3.oa_user_id = #{req.userid}
where t1.cost_status = 9 where t1.cost_status = 9
and t3.id is not null and t3.id is not null
<if test="req.bankCardUser !=null and req.bankCardUser !=''"> <if test="req.costNo !=null and req.costNo !=''">
and t1.bank_card_user like concat('%',#{req.bankCardUser},'%') and (t1.bank_card_user like concat('%',#{req.costNo},'%') or t1.cost_no = #{req.costNo})
</if> </if>
</select> </select>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment