合同管理-收入合同+支出合同加一个模糊查询功能,“签订单位”可根据签订单位输入查询

This commit is contained in:
liangqitao
2022-02-22 10:14:12 +08:00
parent b7fea700e9
commit 7191409215
3 changed files with 14 additions and 7 deletions
@@ -8,27 +8,27 @@ import java.util.List;
public class PayIncomeContractCommon {
/**
* 合同状态(1:草稿,2:待审核,3:已通过,4:未通过,5:已存档,6:已作废)
* 合同状态(1:草稿(审核中),2:待审核,3:已通过(双方盖章),4:未通过,5:已存档,6:已作废)
*/
public final static Integer STATUS1 = 1;
/**
* 合同状态(1:草稿,2:待审核,3:已通过,4:未通过,5:已存档,6:已作废)
* 合同状态(1:草稿(审核中),2:待审核,3:已通过(双方盖章),4:未通过,5:已存档,6:已作废)
*/
public final static Integer STATUS2 = 2;
/**
* 合同状态(1:草稿,2:待审核,3:已通过,4:未通过,5:已存档,6:已作废)
* 合同状态(1:草稿(审核中),2:待审核,3:已通过(双方盖章),4:未通过,5:已存档,6:已作废)
*/
public final static Integer STATUS3 = 3;
/**
* 合同状态(1:草稿,2:待审核,3:已通过,4:未通过,5:已存档,6:已作废)
* 合同状态(1:草稿(审核中),2:待审核,3:已通过(双方盖章),4:未通过,5:已存档,6:已作废)
*/
public final static Integer STATUS4 = 4;
/**
* 合同状态(1:草稿,2:待审核,3:已通过,4:未通过,5:已存档,6:已作废)
* 合同状态(1:草稿(审核中),2:待审核,3:已通过(双方盖章),4:未通过,5:已存档,6:已作废)
*/
public final static Integer STATUS5 = 5;
/**
* 合同状态(1:草稿,2:待审核,3:已通过,4:未通过,5:已存档,6:已作废)
* 合同状态(1:草稿(审核中),2:待审核,3:已通过(双方盖章),4:未通过,5:已存档,6:已作废)
*/
public final static Integer STATUS6 = 6;
/**
@@ -76,6 +76,9 @@
<if test="payIncomeContract.contractName != null and payIncomeContract.contractName != ''">
AND aa.contractName LIKE CONCAT('%',CONCAT(#{payIncomeContract.contractName},'%'))
</if>
<if test="payIncomeContract.signedCompanyTemporaryName != null and payIncomeContract.signedCompanyTemporaryName != ''">
AND aa.signedCompanyTemporaryName LIKE CONCAT('%',CONCAT(#{payIncomeContract.signedCompanyTemporaryName},'%'))
</if>
<if test="startTime != null and startTime != ''">
AND DATE_FORMAT(aa.createTime,'%Y-%m-%d') >= #{startTime}
</if>
@@ -49,6 +49,10 @@
<if test="paySpendingContract.contractName != null and paySpendingContract.contractName != ''">
AND contract_name LIKE CONCAT('%',CONCAT(#{paySpendingContract.contractName},'%'))
</if>
<if test="paySpendingContract.signedCompanyTemporaryName != null and paySpendingContract.signedCompanyTemporaryName != ''">
AND signed_company_temporary_name LIKE CONCAT('%',CONCAT(#{paySpendingContract.signedCompanyTemporaryName},'%'))
</if>
<if test="startTime != null and startTime != ''">
AND DATE_FORMAT(create_time,'%Y-%m-%d') >= #{startTime}
</if>
@@ -130,4 +134,4 @@
</where>
ORDER BY chargeStatus desc,create_time desc
</select>
</mapper>
</mapper>