| | |
| | | </resultMap> |
| | | |
| | | <sql id="selectNonCoalPayCategoryVo"> |
| | | select id, non_coal_pay_id, category_id, category_type, update_by, update_time, create_by, create_time, del_flag from non_coal_pay_category |
| | | select id, |
| | | non_coal_pay_id, |
| | | category_id, |
| | | category_type, |
| | | update_by, |
| | | update_time, |
| | | create_by, |
| | | create_time, |
| | | del_flag |
| | | from non_coal_pay_category |
| | | </sql> |
| | | |
| | | <select id="selectNonCoalPayCategoryList" parameterType="NonCoalPayCategory" resultMap="NonCoalPayCategoryResult"> |
| | |
| | | where id = #{id} |
| | | </update> |
| | | |
| | | <delete id="deleteNonCoalPayCategoryById" parameterType="Long"> |
| | | delete from non_coal_pay_category where id = #{id} |
| | | </delete> |
| | | <update id="deleteNonCoalPayCategoryById" parameterType="Long"> |
| | | update non_coal_pay_category |
| | | set del_flag = 2 |
| | | where non_coal_pay_id = #{id} |
| | | </update> |
| | | |
| | | <delete id="deleteNonCoalPayCategoryByIds" parameterType="String"> |
| | | delete from non_coal_pay_category where id in |