fix:bug
This commit is contained in:
+2
-2
@@ -31,7 +31,7 @@ select * from(
|
|||||||
<where>
|
<where>
|
||||||
pc.contract_type='2'
|
pc.contract_type='2'
|
||||||
<if test="payMailContracrList.contractNum !='' and payMailContracrList.contractNum !=null">
|
<if test="payMailContracrList.contractNum !='' and payMailContracrList.contractNum !=null">
|
||||||
pic.contract_num like concat('%',concat(#{payMailContracrList.contractNum},'%'))
|
and pic.contract_num like concat('%',concat(#{payMailContracrList.contractNum},'%'))
|
||||||
</if>
|
</if>
|
||||||
<if test="payMailContracrList.contractName !='' and payMailContracrList.contractName !=null">
|
<if test="payMailContracrList.contractName !='' and payMailContracrList.contractName !=null">
|
||||||
and pic.contract_name like concat('%',concat(#{payMailContracrList.contractName},'%'))
|
and pic.contract_name like concat('%',concat(#{payMailContracrList.contractName},'%'))
|
||||||
@@ -67,7 +67,7 @@ union all
|
|||||||
<where>
|
<where>
|
||||||
pc.contract_type='1'
|
pc.contract_type='1'
|
||||||
<if test="payMailContracrList.contractNum !='' and payMailContracrList.contractNum !=null">
|
<if test="payMailContracrList.contractNum !='' and payMailContracrList.contractNum !=null">
|
||||||
psc.contract_num like concat('%',concat(#{payMailContracrList.contractNum},'%'))
|
and psc.contract_num like concat('%',concat(#{payMailContracrList.contractNum},'%'))
|
||||||
</if>
|
</if>
|
||||||
<if test="payMailContracrList.contractName !='' and payMailContracrList.contractName !=null">
|
<if test="payMailContracrList.contractName !='' and payMailContracrList.contractName !=null">
|
||||||
and psc.contract_name like concat('%',concat(#{payMailContracrList.contractName},'%'))
|
and psc.contract_name like concat('%',concat(#{payMailContracrList.contractName},'%'))
|
||||||
|
|||||||
Reference in New Issue
Block a user