Kaynağa Gözat

政策-列表查询修改选择销售无法查询到数据

yangzian 3 yıl önce
ebeveyn
işleme
3e6c4680cd

+ 4 - 0
jeecg-boot-finance/src/main/java/org/jeecg/ctop/finance/policy/mapper/xml/CwjsPolicyInfoMapper.xml

@@ -39,6 +39,10 @@
           and t2.approved_progress = #{approvedProgress}
         </if>
 
+         <if test="saleId != null and saleId != ''">
+          and t2.sale_id = #{saleId}
+        </if>
+
         <if test="companySubjectIds != null and companySubjectIds.size() > 0">
             and (t2.company_subject_id in
             <foreach item="item" index="index" collection="companySubjectIds" open="(" separator="," close=")">