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.EnterPriseClassVariableDao">
-
- <sql id="enterpriseclassvariableColumns">
- blbm,blm,blz
- </sql>
-
- <sql id="enterpriseclassvariableJoins">
-
- </sql>
-
- <select id="selectList" resultType="com.unis.transaction.server.entity.creditevaluate.EnterPriseClassVariableDO" parameterType="com.unis.transaction.common.vo.creditevaluate.EnterPriseClassVariableVO">
- SELECT
- <include refid="enterpriseclassvariableColumns" />
- FROM ty_jyqyfjblwh <include refid="enterpriseclassvariableJoins" />
- <where>
- </where>
- </select>
-
- <select id="selectPageList" resultType="com.unis.transaction.common.vo.creditevaluate.EnterPriseClassVariableVO" parameterType="com.unis.transaction.common.vo.creditevaluate.EnterPriseClassVariableVO">
- SELECT
- <include refid="enterpriseclassvariableColumns" />
- FROM ty_jyqyfjblwh <include refid="enterpriseclassvariableJoins" />
- <where>
- and status = 1
- </where>
- order by blbm desc
- </select>
-
- <select id="selectDetail" resultType="com.unis.transaction.common.vo.creditevaluate.EnterPriseClassVariableVO" parameterType="com.unis.transaction.common.vo.creditevaluate.EnterPriseClassVariableVO">
- SELECT
- <include refid="enterpriseclassvariableColumns" />
- FROM ty_jyqyfjblwh <include refid="enterpriseclassvariableJoins" />
- WHERE blbm = #{blbm}
- </select>
-
- <insert id="insertEnterPriseClassVariable">
- INSERT INTO ty_jyqyfjblwh(
- blbm,blm,blz)
- VALUES (
- #{blbm},#{blm},#{blz})
- </insert>
-
- <update id="updateEnterPriseClassVariable">
- UPDATE ty_jyqyfjblwh SET
- blbm = #{blbm},blm = #{blm},blz = #{blz}
- WHERE blbm = #{blbm}
- </update>
-
- <update id="deleteEnterPriseClassVariable">
- DELETE FROM ty_jyqyfjblwh
- WHERE blbm = #{blbm}
- </update>
-
- </mapper>
|