| | |
| | | ORDER BY step_sort ASC |
| | | </select> |
| | | |
| | | <select id="releaseCheck" resultMap="BsFormulaChildInfoResult"> |
| | | <select id="releaseCheck" resultMap="BsFormulaChildInfoResult" parameterType="BsFormulaChildInfo"> |
| | | SELECT |
| | | * |
| | | FROM |
| | | bs_formula_child_info |
| | | WHERE NOT results = 'OK' |
| | | WHERE |
| | | NOT results = 'OK' |
| | | AND product_code = #{productCode} |
| | | AND processes_code = #{processesCode}; |
| | | </select> |
| | | |
| | | <update id="workpieceRelease" parameterType="BsFormulaChildInfo"> |
| | | UPDATE bs_formula_child_info |
| | | SET results = '' |
| | | WHERE |
| | | product_code = #{productCode} |
| | | AND processes_code = #{processesCode}; |
| | | </update> |
| | | </mapper> |