新购查询修改
This commit is contained in:
parent
bb9afdb09a
commit
f78ce835a3
|
|
@ -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>
|
||||
|
|
|
|||
|
|
@ -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">
|
||||
|
|
|
|||
Loading…
Reference in New Issue