| | |
| | | <result property="hasTurnback" column="has_turnback" /> |
| | | <result property="hasRisk" column="has_risk" /> |
| | | <result property="planType" column="plan_type" /> |
| | | <result property="opStatus" column="op_status" /> |
| | | <result property="nextOpName" column="next_op_name" /> |
| | | <!-- <collection property="apsProcessRoutes" javaType="java.util.ArrayList" ofType="com.aps.core.domain.ApsProcessRoute">--> |
| | | <!-- <result property="id" column="id" />--> |
| | | <!-- <result property="itemNo" column="item_no" />--> |
| | |
| | | department, plan_start_day, plan_end_day, standby_number, standby_name, standby_stock, |
| | | next_process_deparment, is_suspended, is_outsourcing, account, advanced_materials, |
| | | advanced_document_number, advanced_requirement_day, is_plan_complete, is_stock_complete, |
| | | has_turnback, has_risk ,plan_type |
| | | has_turnback, has_risk ,plan_type, op_status, next_op_name |
| | | from aps_gas_piping_plan |
| | | </sql> |
| | | |
| | |
| | | <if test="hasTurnback != null "> and has_turnback = #{hasTurnback}</if> |
| | | <if test="hasRisk != null "> and has_risk = #{hasRisk}</if> |
| | | <if test="planType != null "> and plan_type = #{planType}</if> |
| | | <if test="opStatus != null "> and op_status = #{opStatus}</if> |
| | | <if test="nextOpName != null "> and next_op_name = #{nextOpName}</if> |
| | | and del_flag ='0' |
| | | </where> |
| | | </select> |
| | |
| | | <if test="hasTurnback != null">has_turnback,</if> |
| | | <if test="hasRisk != null">has_risk,</if> |
| | | <if test="planType != null">plan_type,</if> |
| | | <if test="opStatus != null">op_status,</if> |
| | | <if test="nextOpName != null">next_op_name,</if> |
| | | </trim> |
| | | <trim prefix="values (" suffix=")" suffixOverrides=","> |
| | | <if test="id != null and id != ''">#{id},</if> |
| | |
| | | <if test="hasTurnback != null">#{hasTurnback},</if> |
| | | <if test="hasRisk != null">#{hasRisk},</if> |
| | | <if test="planType != null">#{planType},</if> |
| | | <if test="opStatus != null">#{opStatus},</if> |
| | | <if test="nextOpName != null">#{nextOpName},</if> |
| | | </trim> |
| | | </insert> |
| | | |
| | |
| | | <if test="hasTurnback != null">has_turnback = #{hasTurnback},</if> |
| | | <if test="hasRisk != null">has_risk = #{hasRisk},</if> |
| | | <if test="planType != null">plan_type = #{planType},</if> |
| | | <if test="opStatus != null">op_status = #{opStatus},</if> |
| | | <if test="nextOpName != null">next_op_name = #{nextOpName},</if> |
| | | </trim> |
| | | where id = #{id} |
| | | </update> |