协议接口优化
This commit is contained in:
parent
da248081bc
commit
a1556100d2
|
|
@ -106,5 +106,6 @@ public class BmAgreementInfo extends BaseEntity
|
||||||
@Excel(name = "是否结算", readConverterExp = "0=,结=算中,1=已结算")
|
@Excel(name = "是否结算", readConverterExp = "0=,结=算中,1=已结算")
|
||||||
private Long isSlt;
|
private Long isSlt;
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "关键词")
|
||||||
|
private String keyWord;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -41,7 +41,6 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||||
auth_person like concat('%', #{keyWord}, '%') or
|
auth_person like concat('%', #{keyWord}, '%') or
|
||||||
phone like concat('%', #{keyWord}, '%'))
|
phone like concat('%', #{keyWord}, '%'))
|
||||||
</if>
|
</if>
|
||||||
|
|
||||||
<if test="agreementCode != null and agreementCode != ''">
|
<if test="agreementCode != null and agreementCode != ''">
|
||||||
and bai.agreement_code like concat('%', #{agreementCode}, '%')
|
and bai.agreement_code like concat('%', #{agreementCode}, '%')
|
||||||
</if>
|
</if>
|
||||||
|
|
@ -51,12 +50,6 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||||
<if test="projectId != null and projectId != ''">
|
<if test="projectId != null and projectId != ''">
|
||||||
and bp.pro_id = #{projectId}
|
and bp.pro_id = #{projectId}
|
||||||
</if>
|
</if>
|
||||||
<if test="dataCondition != null and dataCondition.size()>0">
|
|
||||||
AND bai.agreement_id in
|
|
||||||
<foreach collection="dataCondition" item="agreementId" index="index" open="(" separator="," close=")">
|
|
||||||
#{agreementId}
|
|
||||||
</foreach>
|
|
||||||
</if>
|
|
||||||
ORDER BY bai.agreement_id DESC
|
ORDER BY bai.agreement_id DESC
|
||||||
</select>
|
</select>
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue