| | |
| | | , p.product_id |
| | | , p.component_id |
| | | , p.parts_id |
| | | , p.psv_id |
| | | , p.PROCESS_NAME |
| | | , p.PROCESS_CODE |
| | | , p.CRAFT_NO |
| | |
| | | , (select sys_user.realname from sys_user where p.update_by=sys_user.username) as updateName |
| | | from nc_process_stream p |
| | | inner join |
| | | (select distinct PROCESS_ID from nc_permission_stream where delete_flag = 0 and user_id=#{userId}) s |
| | | on p.PROCESS_ID = s.PROCESS_ID |
| | | (select business_id,business_type from nc_permission_stream_new where delete_flag = 0 and user_id=#{userId}) s |
| | | on p.PROCESS_ID = s.business_id and s.business_type='5' |
| | | where p.delete_flag = 0 |
| | | </select> |
| | | <select id="findByPartsAndComponents" resultType="org.jeecg.modules.dnc.entity.ProcessStream"> |