烟台政务云平台
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.
 
 
 
 
 

26 lines
845 B

<?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.IcFormItemOptionsDao">
<!-- 查询志愿者类型 -->
<select id="volunteerLabelByValues" resultType="java.lang.String">
SELECT
OPTION_LABEL
FROM ic_form_item_options
WHERE DEL_FLAG = 0
AND CUSTOMER_ID = #{customerId}
AND OPTION_VALUE IN(
<foreach collection="volunteers" item="v" separator=",">
#{v}
</foreach>
)
</select>
<delete id="deleteByItemId" parameterType="map">
delete from ic_form_item_options
where DEL_FLAG = 0
and ITEM_ID = #{itemId}
AND CUSTOMER_ID = #{customerId}
</delete>
</mapper>