| | |
| | | <if test="isStockComplete != null "> and is_stock_complete = #{isStockComplete}</if> |
| | | <if test="hasTurnback != null "> and has_turnback = #{hasTurnback}</if> |
| | | <if test="hasRisk != null "> and has_risk = #{hasRisk}</if> |
| | | and del_flag='0' |
| | | </where> |
| | | </select> |
| | | |
| | |
| | | ,#{item.isStockComplete},#{item.hasTurnback},#{item.hasRisk},#{item.plant}) |
| | | </foreach> |
| | | </insert> |
| | | |
| | | <update id="selectPartPlanListByDocumentNumbers" parameterType="String" > |
| | | select id from aps_part_plan where documentNumber in |
| | | <foreach item="id" collection="array" open="(" separator="," close=")"> |
| | | #{id} |
| | | </foreach> |
| | | </update> |
| | | |
| | | <update id="removeAllPartPlans" parameterType="String"> |
| | | update aps_part_plan set del_flag='1' where del_flag ='0' |
| | | </update> |
| | | </mapper> |