|
|
@ -6,12 +6,12 @@ |
|
|
|
select count(1) |
|
|
|
from basic_process |
|
|
|
where code in (select process_code |
|
|
|
from strategy_mes_workstation_production_process where workstation_code=#{workstationCode}) |
|
|
|
from strategy_mes_workstation_process where workstation_code=#{workstationCode}) |
|
|
|
</select> |
|
|
|
<select id="listByWorkstationCode" resultType="com.win.module.mes.dal.dataobject.workstation.MesTeamDO"> |
|
|
|
select code, name |
|
|
|
from basic_process |
|
|
|
where code in (select process_code |
|
|
|
from strategy_mes_workstation_production_process where workstation_code=#{workstationCode}) |
|
|
|
from strategy_mes_workstation_process where workstation_code=#{workstationCode}) |
|
|
|
</select> |
|
|
|
</mapper> |
|
|
|