| | |
| | | io.send_time, |
| | | io.order_type, |
| | | case when |
| | | io.type_source = 0 |
| | | then io.sample_view |
| | | else io.sample end sample, |
| | | io.type_source = 0 |
| | | then io.sample_view |
| | | else io.sample end sample, |
| | | GROUP_CONCAT(DISTINCT isa.model SEPARATOR ' ') AS sample_model, |
| | | userName, |
| | | checkName, |
| | |
| | | FROM ins_sample_user u LEFT JOIN user uu ON u.user_id = uu.id |
| | | WHERE u.state=0 |
| | | <if test="sonLaboratory!= null and sonLaboratory != ''"> |
| | | and son_laboratory=#{sonLaboratory} |
| | | and son_laboratory=#{sonLaboratory} |
| | | </if> |
| | | GROUP BY ins_sample_id |
| | | ORDER BY ins_sample_id |
| | |
| | | ${ew.customSqlSegment} |
| | | </if> |
| | | ORDER BY send_time asc |
| | | |
| | | </select> |
| | | |
| | | <select id="inspectionOrderDetailsTaskSwitching" resultType="com.ruoyi.inspect.vo.InsOrderPlanTaskSwitchVo"> |