| | |
| | | |
| | | |
| | | |
| | | |
| | | </resultMap> |
| | | |
| | | <select id="SelectWorkBasicTeams" resultMap="selectBasicDataProduce"> |
| | | select bdp.basic_name ,bd.basic_name as d_basic_name |
| | | from pp.basic_data_produce bdp |
| | | left join sd.basic_data bd on bdp.basic_category = bd.id |
| | | where bd.basic_name = #{process} |
| | | and bdp.basic_type = "teamsgroups" |
| | | SELECT user_name as basic_name,address as d_basic_name from erp_user_info.user |
| | | where address IS NOT NULL and address= #{process} |
| | | |
| | | </select> |
| | | |
| | | <!-- 查询工序--> |
| | |
| | | select bdp.id, bdp.basic_type, bdp.basic_name, bd.basic_name as d_basic_name |
| | | from pp.basic_data_produce bdp |
| | | left join sd.basic_data bd on bdp.basic_category = bd.id |
| | | order by bdp.id desc |
| | | order by bdp.basic_type,bdp.id desc |
| | | </select> |
| | | |
| | | <select id="openSelectIdMp"> |