新购查询修改

This commit is contained in:
bonus 2025-10-23 17:06:03 +08:00
parent bb9afdb09a
commit f78ce835a3
2 changed files with 2 additions and 1 deletions

View File

@ -42,7 +42,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
LEFT JOIN ma_type mt4 ON mt4.type_id = mt3.parent_id
LEFT JOIN ma_type_manage mtm ON mt4.type_id = mtm.type_id
WHERE
pcd.check_num > 0
pcd.check_num > 0 and tt.task_type = 0
<if test="userId != null ">
and mtm.user_id = #{userId}
</if>

View File

@ -50,6 +50,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
left join tm_task t on t.task_id = pci.task_id
left join sys_user su ON pci.create_by = su.user_id
left join ma_supplier_info msi on pci.supplier_id = msi.supplier_id
where t.task_type = 0
</sql>
<select id="selectPurchaseCheckInfoList" parameterType="com.bonus.material.purchase.domain.PurchaseCheckInfo" resultMap="PurchaseCheckInfoResult">