修改bug
This commit is contained in:
parent
e5c6f7089e
commit
c728363b34
|
|
@ -81,14 +81,14 @@
|
|||
</select>
|
||||
|
||||
<select id="queryReadList" resultType="com.nu.modules.nubaseinfo.entity.NuBaseInfo">
|
||||
select tj_by as empId,nu_id,'qld' as type,'请领单' as typeName from nu_invoicing_qld_main where status in (1,3,4) and tj_by = #{employessId} GROUP BY tj_by,nu_id
|
||||
select employee_id as empId,nu_id,'gd' as type , '工单' as typeName from nu_biz_nu_directive_order where START_TIME like concat(DATE_FORMAT(NOW(), '%Y-%m-%d'),'%') and iz_finish = 'N' and employee_id = #{employessId} GROUP BY employee_id,nu_id
|
||||
union ALL
|
||||
select create_by as empId,nu_id,'pdd' as type,'盘点单' as typeName from nu_invoicing_pdd_main where pdd_type = '1' and create_by = #{username} GROUP BY create_by,nu_id
|
||||
<!-- union all-->
|
||||
<!-- select employee_id as empId,nu_id,'gd' as type , '工单' as typeName from nu_biz_nu_directive_order where START_TIME like concat(DATE_FORMAT(NOW(), '%Y-%m-%d'),'%') and iz_finish = 'N' and employee_id = #{employessId} GROUP BY employee_id,nu_id-->
|
||||
<!-- select tj_by as empId,nu_id,'qld' as type,'请领单' as typeName from nu_invoicing_qld_main where status in (1,3,4) and tj_by = #{employessId} GROUP BY tj_by,nu_id-->
|
||||
<!-- union all-->
|
||||
<!-- select create_by as empId,nu_id,'cgd' as type,'采购单' as typeName from nu_invoicing_cgd_main where cgd_type in (0,1) and create_by = #{username} GROUP BY create_by,nu_id-->
|
||||
<!-- union ALL-->
|
||||
<!-- select create_by as empId,nu_id,'pdd' as type,'盘点单' as typeName from nu_invoicing_pdd_main where pdd_type = '1' and create_by = #{username} GROUP BY create_by,nu_id-->
|
||||
<!-- union ALL-->
|
||||
<!-- select fq_by as empId,nu_id,'thd' as type,'退货单' as typeName from nu_invoicing_thd_main where status = '1' and fq_by = #{employessId} GROUP BY fq_by,nu_id-->
|
||||
</select>
|
||||
</mapper>
|
||||
|
|
|
|||
Loading…
Reference in New Issue