廖井涛
23 小时以前 f0420251442ac6f7bfb6beafa37ad045b4f6478a
north-glass-erp/src/main/resources/mapper/pp/ReportingWork.xml
@@ -69,6 +69,7 @@
<!--    查询当前工序的表头数据-->
    <select id="AddSelectLastWorkMp" resultMap="reportingWorkMap">
        select o.order_id,
               o.batch,
               fc.production_id,
               fc.process_id as 'processIdFirst',
               o.customer_id,
@@ -104,7 +105,13 @@
    </select>
    <select id="SelectWorkBasicTeamsMp">
        select id,login_name,user_name,address from erp_user_info.`user` WHERE address=#{process}
        select id,login_name,user_name,address from erp_user_info.`user`
        where
            address is not null and address != ''
            and (
                (JSON_VALID(address) and JSON_CONTAINS(address,CONCAT('"', #{process}, '"') ))
                or (not JSON_VALID(address) and address = #{process})
            )
    </select>
    <!--    查询流程卡工艺流程-->