1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556 |
- <?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.unis.transaction.server.dao.EnterPriseClassSetDao">
-
- <sql id="enterpriseclasssetColumns">
- szbm,zbxdtj,ybxdtj,zbxdzblm,ybxdzblm,zbxdzblz,ybxdzblz,zbxdzbm,ybxdzbm,fjmc
- </sql>
-
- <sql id="enterpriseclasssetJoins">
-
- </sql>
-
- <select id="selectList" resultType="com.unis.transaction.server.entity.creditevaluate.EnterPriseClassSetDO" parameterType="com.unis.transaction.common.vo.creditevaluate.EnterPriseClassSetVO">
- SELECT
- <include refid="enterpriseclasssetColumns" />
- FROM ty_jyqyfjsz <include refid="enterpriseclasssetJoins" />
- <where>
- </where>
- </select>
-
- <select id="selectPageList" resultType="com.unis.transaction.common.vo.creditevaluate.EnterPriseClassSetVO" parameterType="com.unis.transaction.common.vo.creditevaluate.EnterPriseClassSetVO">
- SELECT
- <include refid="enterpriseclasssetColumns" />
- FROM ty_jyqyfjsz <include refid="enterpriseclasssetJoins" />
- <where>
- and status = 1
- </where>
- order by szbm desc
- </select>
-
- <select id="selectDetail" resultType="com.unis.transaction.common.vo.creditevaluate.EnterPriseClassSetVO" parameterType="com.unis.transaction.common.vo.creditevaluate.EnterPriseClassSetVO">
- SELECT
- <include refid="enterpriseclasssetColumns" />
- FROM ty_jyqyfjsz <include refid="enterpriseclasssetJoins" />
- WHERE szbm = #{szbm}
- </select>
-
- <insert id="insertEnterPriseClassSet">
- INSERT INTO ty_jyqyfjsz(
- szbm,zbxdtj,ybxdtj,zbxdzblm,ybxdzblm,zbxdzblz,ybxdzblz,zbxdzbm,ybxdzbm,fjmc)
- VALUES (
- #{szbm},#{zbxdtj},#{ybxdtj},#{zbxdzblm},#{ybxdzblm},#{zbxdzblz},#{ybxdzblz},#{zbxdzbm},#{ybxdzbm},#{fjmc})
- </insert>
-
- <update id="updateEnterPriseClassSet">
- UPDATE ty_jyqyfjsz SET
- szbm = #{szbm},zbxdtj = #{zbxdtj},ybxdtj = #{ybxdtj},zbxdzblm = #{zbxdzblm},ybxdzblm = #{ybxdzblm},zbxdzblz = #{zbxdzblz},ybxdzblz = #{ybxdzblz},zbxdzbm = #{zbxdzbm},ybxdzbm = #{ybxdzbm},fjmc = #{fjmc}
- WHERE szbm = #{szbm}
- </update>
-
- <update id="deleteEnterPriseClassSet">
- DELETE FROM ty_jyqyfjsz
- WHERE szbm = #{szbm}
- </update>
-
- </mapper>
|