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