| | |
| | | set command_result = #{commandResult}, failure_factors = #{failureFactors} |
| | | where command_id = #{commandId} |
| | | </update> |
| | | |
| | | <!--根据计划ID获取待终止的取水口ID(已发布开发命令,无论是否成功)--> |
| | | <select id="getToTerminateIntakeIds" resultType="java.lang.Long"> |
| | | SELECT |
| | | intake_id AS intakeId |
| | | FROM ir_intake_operate |
| | | WHERE operate_type = 1 AND plan_id = #{planId} |
| | | </select> |
| | | |
| | | <!--根据计划ID获取待终止的命令ID--> |
| | | <select id="getTerminateCommandIds" resultType="java.lang.Long"> |
| | | SELECT command_id AS commandId FROM ir_intake_operate WHERE operate_type = 1 AND plan_id = #{planId} |
| | | </select> |
| | | </mapper> |