Переглянути джерело

报价费用审核的时候,费用规则查询条件不生效的bug修复

lipf 5 днів тому
батько
коміт
4a9100b301

+ 2 - 2
tenant/organization/src/main/resources/mapper/PtlAgreementCostMapper.xml

@@ -467,13 +467,13 @@
             <if test="costParam.costRulesList != null and costParam.costRulesList.size() > 0">
                 AND
                 <foreach collection="costParam.costRulesList" item="keyword" separator="AND">
-                    pc.cost_describe LIKE CONCAT('%', #{keyword}, '%')
+                    pc.cost_rules LIKE CONCAT('%', #{keyword}, '%')
                 </foreach>
             </if>
             <if test="costParam.costRules != null and costParam.costRules.length > 0">
                 AND
                 <foreach collection="costParam.costRules" item="keyword" separator="AND">
-                    pc.cost_describe LIKE CONCAT('%', #{keyword}, '%')
+                    pc.cost_rules LIKE CONCAT('%', #{keyword}, '%')
                 </foreach>
             </if>
             <if test="costParam.agreementStatus != null and costParam.agreementStatus != ''">