This repository has been archived on 2025-09-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files
k18-ntcs-web-argus-service/src/main/java/com/nis/web/dao/ConfigPzIdDao.xml
2017-12-22 15:35:56 +08:00

18 lines
709 B
XML

<?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.nis.web.dao.ConfigPzIdDao">
<select id="getConfigPzIdList" parameterType="com.nis.domain.restful.ConfigPzIdSource" resultType="java.lang.Long" useCache="false" flushCache="true">
SELECT
<if test="sourceName != null and sourceName =='CONFIG_COMPILE'">
SEQ_COMPILEID.nextval
</if>
<if test="sourceName != null and sourceName =='CONFIG_GROUP'">
SEQ_GROUPID.nextval
</if>
<if test="sourceName != null and sourceName =='CONFIG_REGION'">
SEQ_REGIONID.nextval
</if>
FROM dual
</select>
</mapper>