协议接口优化
This commit is contained in:
parent
da248081bc
commit
a1556100d2
|
|
@ -106,5 +106,6 @@ public class BmAgreementInfo extends BaseEntity
|
|||
@Excel(name = "是否结算", readConverterExp = "0=,结=算中,1=已结算")
|
||||
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
|
||||
phone like concat('%', #{keyWord}, '%'))
|
||||
</if>
|
||||
|
||||
<if test="agreementCode != null and agreementCode != ''">
|
||||
and bai.agreement_code like concat('%', #{agreementCode}, '%')
|
||||
</if>
|
||||
|
|
@ -51,12 +50,6 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|||
<if test="projectId != null and projectId != ''">
|
||||
and bp.pro_id = #{projectId}
|
||||
</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
|
||||
</select>
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue