You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
1.2 KiB
29 lines
1.2 KiB
<?xml version="1.0" encoding="UTF-8"?>
|
|
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
|
|
|
<mapper namespace="com.epmet.dao.GovCustomerMenuDao">
|
|
|
|
<resultMap type="com.epmet.entity.GovCustomerMenuEntity" id="govCustomerMenuMap">
|
|
<result property="id" column="ID"/>
|
|
<result property="customerId" column="CUSTOMER_ID"/>
|
|
<result property="tableId" column="TABLE_ID"/>
|
|
<result property="delFlag" column="DEL_FLAG"/>
|
|
<result property="revision" column="REVISION"/>
|
|
<result property="createdBy" column="CREATED_BY"/>
|
|
<result property="createdTime" column="CREATED_TIME"/>
|
|
<result property="updatedBy" column="UPDATED_BY"/>
|
|
<result property="updatedTime" column="UPDATED_TIME"/>
|
|
</resultMap>
|
|
|
|
<update id="deleteBatchTableIds">
|
|
UPDATE gov_customer_menu SET DEL_FLAG = '1'
|
|
WHERE DEL_FLAG = '0'
|
|
AND TABLE_ID = #{tableId, jdbcType=VARCHAR}
|
|
</update>
|
|
|
|
<select id="selectListcustomerIds" resultType="String">
|
|
SELECT CUSTOMER_ID customerId
|
|
FROM gov_customer_menu
|
|
WHERE del_flag = 0 AND TABLE_ID = #{tableId, jdbcType=VARCHAR}
|
|
</select>
|
|
</mapper>
|
|
|