删除静控接口
This commit is contained in:
@@ -7,9 +7,6 @@
|
||||
<if test="sourceName != null and sourceName =='CONFIG_COMPILE'">
|
||||
SEQ_COMPILEID.nextval
|
||||
</if>
|
||||
<if test="sourceName != null and sourceName =='CONFIG_GROUP_ID'">
|
||||
SEQ_CONFIG_GROUP.nextval
|
||||
</if>
|
||||
<if test="sourceName != null and sourceName =='CONFIG_GROUP'">
|
||||
SEQ_GROUPID.nextval
|
||||
</if>
|
||||
|
||||
@@ -1,20 +0,0 @@
|
||||
package com.nis.web.dao.jk;
|
||||
|
||||
import com.nis.domain.restful.jk.JkDmbCk;
|
||||
import com.nis.web.dao.CrudDao;
|
||||
import com.nis.web.dao.MyBatisDao;
|
||||
/**
|
||||
*
|
||||
* @ClassName: DmbCkDao.java
|
||||
* @Description: TODO
|
||||
* @author (dell)
|
||||
* @date 2016年9月9日 上午10:03:33
|
||||
* @version V1.0
|
||||
*/
|
||||
@MyBatisDao
|
||||
public interface JkDmbCkDao extends CrudDao<JkDmbCk>{
|
||||
int delete(long id);
|
||||
int insert(JkDmbCk record);
|
||||
int update(JkDmbCk record);
|
||||
int updateValid(JkDmbCk record);
|
||||
}
|
||||
@@ -1,237 +0,0 @@
|
||||
<?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.jk.JkDmbCkDao">
|
||||
<resultMap id="BaseResultMap" type="com.nis.domain.restful.jk.JkDmbCk">
|
||||
<id column="G_ID" jdbcType="BIGINT" property="gId" />
|
||||
<result column="GJ_CK_ID" jdbcType="BIGINT" property="gjCkId" />
|
||||
<result column="SF_SX" jdbcType="BIGINT" property="sfSx" />
|
||||
<result column="SX_FW" jdbcType="VARCHAR" property="sxFw" />
|
||||
<result column="CK_MC" jdbcType="VARCHAR" property="ckMc" />
|
||||
<result column="CK_WZ" jdbcType="VARCHAR" property="ckWz" />
|
||||
<!--
|
||||
<result column="CK_TXFF" jdbcType="VARCHAR" property="ckTxff" />
|
||||
<result column="CK_BZ" jdbcType="VARCHAR" property="ckBz" />
|
||||
<result column="YL" jdbcType="BIGINT" property="yl" />
|
||||
<result column="YL1" jdbcType="BIGINT" property="yl1" />
|
||||
<result column="YL2" jdbcType="VARCHAR" property="yl2" />
|
||||
<result column="YL3" jdbcType="VARCHAR" property="yl3" />
|
||||
<result column="YL4" jdbcType="VARCHAR" property="yl4" />
|
||||
<result column="YL5" jdbcType="VARCHAR" property="yl5" />
|
||||
<result column="CK_NO" jdbcType="BIGINT" property="ckNo" /> -->
|
||||
<result column="CK_NO_RAW" jdbcType="VARCHAR" property="ckNoRaw" />
|
||||
<result column="ISP" jdbcType="BIGINT" property="isp" />
|
||||
<result column="DD" jdbcType="BIGINT" property="dd" />
|
||||
|
||||
</resultMap>
|
||||
<sql id="Base_Column_List">
|
||||
G_ID, GJ_CK_ID,SF_SX,SX_FW,CK_MC,CK_WZ,<!-- CK_TXFF,CK_BZ,YL,YL1,YL2,YL3,YL4,YL5,CK_NO, -->CK_NO_RAW,ISP,DD
|
||||
</sql>
|
||||
<select id="selectByPrimaryKey" parameterType="java.lang.Long" resultMap="BaseResultMap">
|
||||
select
|
||||
<include refid="Base_Column_List" />
|
||||
from DMB_CK
|
||||
where GJ_CK_ID = #{gjCkId,jdbcType=BIGINT}
|
||||
</select>
|
||||
<delete id="delete" parameterType="java.lang.Long">
|
||||
delete from DMB_CK
|
||||
where GJ_CK_ID = #{gjCkId,jdbcType=BIGINT}
|
||||
</delete>
|
||||
<!--
|
||||
<insert id="insert" parameterType="com.nis.domain.restful.jk.JkDmbCk">
|
||||
insert into DMB_CK (GJ_CK_ID,SF_SX,SX_FW,CK_MC,CK_WZ,CK_TXFF,CK_BZ,YL,YL1,YL2,YL3,YL4,YL5,CK_NO,CK_NO_RAW,ISP,DD
|
||||
)
|
||||
values (
|
||||
#{gjCkId,jdbcType=BIGINT},
|
||||
#{sfSx,jdbcType=BIGINT},
|
||||
#{sxFw,jdbcType=VARCHAR},
|
||||
#{ckMc,jdbcType=VARCHAR},
|
||||
#{ckWz,jdbcType=BIGINT},
|
||||
#{ckTxff,jdbcType=VARCHAR},
|
||||
#{ckBz,jdbcType=VARCHAR},
|
||||
#{yl,jdbcType=BIGINT},
|
||||
#{yl1,jdbcType=BIGINT},
|
||||
#{yl2,jdbcType=VARCHAR},
|
||||
#{yl3,jdbcType=VARCHAR},
|
||||
#{yl4,jdbcType=VARCHAR},
|
||||
#{yl5,jdbcType=VARCHAR},
|
||||
#{ckNo,jdbcType=BIGINT},
|
||||
#{ckNoRaw,jdbcType=VARCHAR},
|
||||
#{isp,jdbcType=BIGINT},
|
||||
#{dd,jdbcType=BIGINT}
|
||||
)
|
||||
</insert>
|
||||
-->
|
||||
<insert id="insert" parameterType="com.nis.domain.restful.jk.JkDmbCk" keyProperty="gjCkId">
|
||||
insert into DMB_CK
|
||||
<trim prefix="(" suffix=")" suffixOverrides=",">
|
||||
<if test="gjCkId != null">
|
||||
GJ_CK_ID ,
|
||||
</if>
|
||||
<if test="sfSx != null">
|
||||
SF_SX ,
|
||||
</if>
|
||||
<if test="sxFw != null">
|
||||
SX_FW ,
|
||||
</if>
|
||||
<if test="ckMc != null">
|
||||
CK_MC ,
|
||||
</if>
|
||||
<if test="ckWz != null">
|
||||
CK_WZ ,
|
||||
</if>
|
||||
<!--
|
||||
<if test="ckTxff != null">
|
||||
CK_TXFF ,
|
||||
</if>
|
||||
<if test="ckBz != null">
|
||||
CK_BZ ,
|
||||
</if>
|
||||
<if test="yl != null">
|
||||
YL ,
|
||||
</if>
|
||||
<if test="yl1 != null">
|
||||
YL1,
|
||||
</if>
|
||||
<if test="yl2 != null">
|
||||
YL2,
|
||||
</if>
|
||||
<if test="yl3 != null">
|
||||
YL3,
|
||||
</if>
|
||||
<if test="yl4 != null">
|
||||
YL4,
|
||||
</if>
|
||||
<if test="yl5 != null">
|
||||
YL5,
|
||||
</if>
|
||||
<if test="ckNo != null">
|
||||
CK_NO ,
|
||||
</if>
|
||||
-->
|
||||
<if test="ckNoRaw != null">
|
||||
CK_NO_RAW ,
|
||||
</if>
|
||||
<if test="isp != null">
|
||||
ISP,
|
||||
</if>
|
||||
<if test="dd != null">
|
||||
DD,
|
||||
</if>
|
||||
</trim>
|
||||
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
||||
<if test="gjCkId != null">
|
||||
#{gjCkId,jdbcType=BIGINT},
|
||||
</if>
|
||||
<if test="sfSx != null">
|
||||
#{sfSx,jdbcType=BIGINT},
|
||||
</if>
|
||||
|
||||
<if test="sxFw != null">
|
||||
#{sxFw,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="ckMc != null">
|
||||
#{ckMc,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="ckWz != null">
|
||||
#{ckWz,jdbcType=BIGINT},
|
||||
</if>
|
||||
<!--
|
||||
<if test="ckTxff != null">
|
||||
#{ckTxff,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="ckBz != null">
|
||||
#{ckBz,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="yl != null">
|
||||
#{yl,jdbcType=BIGINT},
|
||||
</if>
|
||||
<if test="yl1 != null">
|
||||
#{yl1,jdbcType=BIGINT},
|
||||
</if>
|
||||
<if test="yl2 != null">
|
||||
#{yl2,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="yl3 != null">
|
||||
#{yl3,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="yl4 != null">
|
||||
#{yl4,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="yl5 != null">
|
||||
#{yl5,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="ckNo != null">
|
||||
#{ckNo,jdbcType=BIGINT},
|
||||
</if>
|
||||
-->
|
||||
<if test="ckNoRaw != null">
|
||||
#{ckNoRaw,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="isp != null">
|
||||
#{isp,jdbcType=BIGINT},
|
||||
</if>
|
||||
<if test="dd != null">
|
||||
#{dd,jdbcType=BIGINT},
|
||||
</if>
|
||||
</trim>
|
||||
</insert>
|
||||
<update id="update" parameterType="com.nis.domain.restful.jk.JkDmbCk">
|
||||
update DMB_CK set SF_SX = #{sfSx,jdbcType=BIGINT} where GJ_CK_ID = #{gjCkId,jdbcType=BIGINT}
|
||||
</update>
|
||||
<!--
|
||||
<update id="update" parameterType="com.nis.domain.restful.jk.JkDmbCk">
|
||||
update DMB_CK
|
||||
<set>
|
||||
<if test="sfSx != null">
|
||||
SF_SX = #{sfSx,jdbcType=BIGINT},
|
||||
</if>
|
||||
<if test="sxFw != null">
|
||||
SX_FW = #{sxFw,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="ckMc != null">
|
||||
CK_MC = #{ckMc,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="ckWz != null">
|
||||
CK_WZ = #{ckWz,jdbcType=BIGINT},
|
||||
</if>
|
||||
<if test="ckTxff != null">
|
||||
CK_TXFF = #{ckTxff,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="ckBz != null">
|
||||
CK_BZ = #{ckBz,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="yl != null">
|
||||
YL = #{yl,jdbcType=BIGINT},
|
||||
</if>
|
||||
<if test="yl1 != null">
|
||||
YL1 = #{yl1,jdbcType=BIGINT},
|
||||
</if>
|
||||
<if test="yl2 != null">
|
||||
YL2 = #{yl2,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="yl3 != null">
|
||||
YL3 = #{yl3,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="yl4 != null">
|
||||
YL4 = #{yl4,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="yl5 != null">
|
||||
YL5 = #{yl5,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="ckNo != null">
|
||||
CK_NO = #{ckNo,jdbcType=BIGINT},
|
||||
</if>
|
||||
<if test="ckNoRaw != null">
|
||||
CK_NO_RAW = #{ckNoRaw,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="isp != null">
|
||||
ISP =#{isp,jdbcType=BIGINT},
|
||||
</if>
|
||||
<if test="dd != null">
|
||||
DD = #{dd,jdbcType=BIGINT}
|
||||
</if>
|
||||
</set>
|
||||
where GJ_CK_ID = #{gjCkId,jdbcType=BIGINT}
|
||||
</update>
|
||||
-->
|
||||
</mapper>
|
||||
@@ -1,19 +0,0 @@
|
||||
package com.nis.web.dao.jk;
|
||||
|
||||
import com.nis.domain.restful.jk.JkFdZb;
|
||||
import com.nis.web.dao.CrudDao;
|
||||
import com.nis.web.dao.MyBatisDao;
|
||||
/**
|
||||
*
|
||||
* @ClassName: JkFdZbDao.java
|
||||
* @Description: TODO
|
||||
* @author (ddm)
|
||||
* @date 2016年10月19日 下午19:03:33
|
||||
* @version V1.0
|
||||
*/
|
||||
@MyBatisDao
|
||||
public interface JkFdZbDao extends CrudDao<JkFdZb>{
|
||||
int delete(long id);
|
||||
int insert(JkFdZb record);
|
||||
int update(JkFdZb record);
|
||||
}
|
||||
@@ -1,191 +0,0 @@
|
||||
<?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.jk.JkFdZbDao">
|
||||
<resultMap id="JkFdZbMap" type="com.nis.domain.restful.jk.JkFdZb">
|
||||
<result column="g_Id" jdbcType="BIGINT" property="gId" />
|
||||
<result column="zb_Id" jdbcType="BIGINT" property="zbId" />
|
||||
<result column="fd_Fs" jdbcType="BIGINT" property="fdFs" />
|
||||
<result column="sf_Fd" jdbcType="BIGINT" property="sfFd" />
|
||||
<result column="jk_Ip" jdbcType="VARCHAR" property="jkIp" />
|
||||
<result column="jk_Ym" jdbcType="BIGINT" property="jkYm" />
|
||||
<result column="isp_Raw" jdbcType="VARCHAR" property="ispRaw" />
|
||||
<result column="LAST_UPDATE" jdbcType="TIMESTAMP" property="lastUpdate" />
|
||||
<result column="sx_Fw" jdbcType="VARCHAR" property="sxFw" />
|
||||
<!-- <result column="addr_type" jdbcType="INTEGER" property="addrType" /> -->
|
||||
<!--
|
||||
<result column="jk_Wz_Mc" jdbcType="VARCHAR" property="jkWzMc" />
|
||||
<result column="jk_Dns" jdbcType="VARCHAR" property="jkDns" />
|
||||
<result column="jk_Fl" jdbcType="BIGINT" property="jkFl" />
|
||||
<result column="jk_Xz" jdbcType="BIGINT" property="jkXz" />
|
||||
<result column="jk_yy" jdbcType="BIGINT" property="jkYy" />
|
||||
<result column="jk_Tzdw" jdbcType="VARCHAR" property="jkTzdw" />
|
||||
<result column="lwhh" jdbcType="VARCHAR" property="lwhh" />
|
||||
<result column="czy_Id" jdbcType="BIGINT" property="czyId" />
|
||||
<result column="jk_Sj1" jdbcType="TIMESTAMP" property="jkSj1" />
|
||||
<result column="jk_Shy" jdbcType="BIGINT" property="jkShy" />
|
||||
<result column="jk_Sj2" jdbcType="TIMESTAMP" property="jkSj2" />
|
||||
<result column="spd" jdbcType="VARCHAR" property="spd" />
|
||||
<result column="kgczyid" jdbcType="BIGINT" property="kgczyid" />
|
||||
<result column="kgczysj" jdbcType="TIMESTAMP" property="kgczysj" />
|
||||
<result column="groupid" jdbcType="BIGINT" property="groupid" />
|
||||
<result column="rw" jdbcType="VARCHAR" property="rw" />
|
||||
<result column="jk_Bz" jdbcType="VARCHAR" property="jkBz" />
|
||||
<result column="yl" jdbcType="VARCHAR" property="yl" />
|
||||
<result column="yhwz_Id" jdbcType="BIGINT" property="yhwzId" />
|
||||
<result column="yxrq" jdbcType="TIMESTAMP" property="yxrq" />
|
||||
<result column="yl1" jdbcType="BIGINT" property="yl1" />
|
||||
<result column="yl2" jdbcType="BIGINT" property="yl2" />
|
||||
<result column="yl3" jdbcType="VARCHAR" property="yl3" />
|
||||
<result column="yl4" jdbcType="VARCHAR" property="yl4" />
|
||||
<result column="yl5" jdbcType="VARCHAR" property="yl5" />
|
||||
<result column="djyid" jdbcType="BIGINT" property="djyid" />
|
||||
<result column="djsj" jdbcType="TIMESTAMP" property="djsj" />
|
||||
<result column="fhyid" jdbcType="BIGINT" property="fhyid" />
|
||||
<result column="fhsj" jdbcType="TIMESTAMP" property="fhsj" />
|
||||
<result column="yhwzysy" jdbcType="BIGINT" property="yhwzysy" />
|
||||
<result column="yhwzyssj" jdbcType="TIMESTAMP" property="yhwzyssj" />
|
||||
<result column="yhwzshy" jdbcType="BIGINT" property="yhwzshy" />
|
||||
<result column="yhwzshsj" jdbcType="TIMESTAMP" property="yhwzshsj" />
|
||||
<result column="ipzy_Ysy" jdbcType="BIGINT" property="ipzyYsy" />
|
||||
<result column="ipzy_Yssj" jdbcType="TIMESTAMP" property="ipzyYssj" />
|
||||
<result column="ipzy_Shy" jdbcType="BIGINT" property="ipzyShy" />
|
||||
<result column="ipzy_Shsj" jdbcType="TIMESTAMP" property="ipzyShsj" />
|
||||
<result column="ip_Num" jdbcType="BIGINT" property="ipNum" />
|
||||
<result column="isp" jdbcType="BIGINT" property="isp" />
|
||||
-->
|
||||
</resultMap>
|
||||
<sql id="Base_Column_List">
|
||||
G_ID,ZB_ID,FD_FS,SF_FD,JK_IP,JK_YM,ISP_RAW,LAST_UPDATE,SX_FW<!-- ,ADDR_TYPE --><!-- ,JK_WZ_MC,JK_DNS,
|
||||
JK_FL,JK_XZ,JK_YY,JK_TZDW,LWHH,CZY_ID,JK_SJ1,JK_SHY,JK_SJ2,SPD,KGCZYID,
|
||||
KGCZYSJ,GROUPID,RW,JK_BZ,YL,YHWZ_ID,YXRQ,YL1,YL2,DJYID,DJSJ,FHYID,
|
||||
FHSJ,YHWZYSY,YHWZYSSJ,YHWZSHY,YHWZSHSJ,IPZY_YSY,IPZY_YSSJ,IPZY_SHY,
|
||||
IPZY_SHSJ,IP_NUM,ISP,YL5,YL4,YL3 -->
|
||||
</sql>
|
||||
<select id="selectByPrimaryKey" parameterType="java.lang.Long" resultMap="JkFdZbMap">
|
||||
select
|
||||
<include refid="Base_Column_List" />
|
||||
from JK_FD_ZB_FULL
|
||||
where ZB_ID = #{zbId,jdbcType=BIGINT}
|
||||
</select>
|
||||
<delete id="delete" parameterType="java.lang.Long">
|
||||
delete from JK_FD_ZB_FULL
|
||||
where ZB_ID = #{zbId,jdbcType=BIGINT}
|
||||
</delete>
|
||||
<insert id="insert" parameterType="com.nis.domain.restful.jk.JkFdZb">
|
||||
insert into JK_FD_ZB_FULL (
|
||||
zb_Id
|
||||
,fd_Fs
|
||||
,sf_Fd
|
||||
,jk_Ip
|
||||
,jk_Ym
|
||||
,isp_Raw
|
||||
,LAST_UPDATE
|
||||
,sx_Fw
|
||||
<!-- ,addr_type -->
|
||||
<!--
|
||||
,jk_Wz_Mc
|
||||
,jk_Dns
|
||||
,jk_Fl
|
||||
,jk_Xz
|
||||
,jk_yy
|
||||
,jk_Tzdw
|
||||
,lwhh
|
||||
,czy_Id
|
||||
,jk_Sj1
|
||||
,jk_Shy
|
||||
,jk_Sj2
|
||||
,spd
|
||||
,kgczyid
|
||||
,kgczysj
|
||||
,groupid
|
||||
,rw
|
||||
,jk_Bz
|
||||
,yl
|
||||
,yhwz_Id
|
||||
,yxrq
|
||||
,yl1
|
||||
,yl2
|
||||
,yl3
|
||||
,yl4
|
||||
,yl5
|
||||
,djyid
|
||||
,djsj
|
||||
,fhyid
|
||||
,fhsj
|
||||
,yhwzysy
|
||||
,yhwzyssj
|
||||
,yhwzshy
|
||||
,yhwzshsj
|
||||
,ipzy_Ysy
|
||||
,ipzy_Yssj
|
||||
,ipzy_Shy
|
||||
,ipzy_Shsj
|
||||
,ip_Num
|
||||
,isp -->
|
||||
)
|
||||
values (
|
||||
#{zbId,jdbcType=BIGINT},
|
||||
#{fdFs,jdbcType=BIGINT},
|
||||
#{sfFd,jdbcType=BIGINT},
|
||||
#{jkIp,jdbcType=VARCHAR},
|
||||
#{jkYm,jdbcType=BIGINT},
|
||||
#{ispRaw,jdbcType=VARCHAR},
|
||||
#{lastUpdate,jdbcType=VARCHAR},
|
||||
#{sxFw,jdbcType=VARCHAR}<!-- ,
|
||||
#{addrType,jdbcType=VARCHAR} --><!-- ,
|
||||
#{jkWzMc,jdbcType=VARCHAR},
|
||||
#{jkDns,jdbcType=VARCHAR},
|
||||
#{jkFl,jdbcType=BIGINT},
|
||||
#{jkXz,jdbcType=BIGINT},
|
||||
#{jkYy,jdbcType=BIGINT},
|
||||
#{jkTzdw,jdbcType=VARCHAR},
|
||||
#{lwhh,jdbcType=VARCHAR},
|
||||
#{czyId,jdbcType=BIGINT},
|
||||
#{jkSj1,jdbcType=TIMESTAMP},
|
||||
#{jkShy,jdbcType=BIGINT},
|
||||
#{jkSj2,jdbcType=TIMESTAMP},
|
||||
#{spd,jdbcType=VARCHAR},
|
||||
#{kgczyid,jdbcType=BIGINT},
|
||||
#{kgczysj,jdbcType=TIMESTAMP},
|
||||
#{groupid,jdbcType=BIGINT},
|
||||
#{rw,jdbcType=VARCHAR},
|
||||
#{jkBz,jdbcType=VARCHAR},
|
||||
#{yl,jdbcType=VARCHAR},
|
||||
#{yhwzId,jdbcType=BIGINT},
|
||||
#{yxrq,jdbcType=TIMESTAMP},
|
||||
#{yl1,jdbcType=BIGINT},
|
||||
#{yl2,jdbcType=BIGINT},
|
||||
#{yl3,jdbcType=VARCHAR},
|
||||
#{yl4,jdbcType=VARCHAR},
|
||||
#{yl5,jdbcType=VARCHAR},
|
||||
#{djyid,jdbcType=BIGINT},
|
||||
#{djsj,jdbcType=TIMESTAMP},
|
||||
#{fhyid,jdbcType=BIGINT},
|
||||
#{fhsj,jdbcType=TIMESTAMP},
|
||||
#{yhwzysy,jdbcType=BIGINT},
|
||||
#{yhwzyssj,jdbcType=TIMESTAMP},
|
||||
#{yhwzshy,jdbcType=BIGINT},
|
||||
#{yhwzshsj,jdbcType=TIMESTAMP},
|
||||
#{ipzyYsy,jdbcType=BIGINT},
|
||||
#{ipzyYssj,jdbcType=TIMESTAMP},
|
||||
#{ipzyShy,jdbcType=BIGINT},
|
||||
#{ipzyShsj,jdbcType=TIMESTAMP},
|
||||
#{ipNum,jdbcType=BIGINT},
|
||||
#{isp,jdbcType=BIGINT} -->
|
||||
)
|
||||
</insert>
|
||||
|
||||
<update id="update" parameterType="com.nis.domain.restful.jk.JkFdZb">
|
||||
update JK_FD_ZB_FULL
|
||||
<set>
|
||||
<if test="sfFd != null">
|
||||
sf_Fd=#{sfFd,jdbcType=BIGINT},
|
||||
</if>
|
||||
<if test="lastUpdate != null">
|
||||
LAST_UPDATE=#{lastUpdate,jdbcType=BIGINT},
|
||||
</if>
|
||||
|
||||
</set>
|
||||
where ZB_ID = #{zbId,jdbcType=BIGINT}
|
||||
</update>
|
||||
</mapper>
|
||||
@@ -1,20 +0,0 @@
|
||||
package com.nis.web.dao.jk;
|
||||
|
||||
import com.nis.domain.restful.jk.JkFfjInfo;
|
||||
import com.nis.web.dao.CrudDao;
|
||||
import com.nis.web.dao.MyBatisDao;
|
||||
/**
|
||||
*
|
||||
* @ClassName: JkFfjDao.java
|
||||
* @Description: TODO
|
||||
* @author (dell)
|
||||
* @date 2016年9月9日 上午10:01:09
|
||||
* @version V1.0
|
||||
*/
|
||||
@MyBatisDao
|
||||
public interface JkFfjInfoDao extends CrudDao<JkFfjInfo>{
|
||||
int delete(long id);
|
||||
int insert(JkFfjInfo record);
|
||||
int update(JkFfjInfo record);
|
||||
|
||||
}
|
||||
@@ -1,47 +0,0 @@
|
||||
<?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.jk.JkFfjInfoDao">
|
||||
<resultMap id="JkFfjInfoResultMap" type="com.nis.domain.restful.jk.JkFfjInfo">
|
||||
<id column="G_ID" jdbcType="BIGINT" property="gId" />
|
||||
<result column="FFJ_ID" jdbcType="BIGINT" property="ffjId" />
|
||||
<result column="FFJ_MC" jdbcType="VARCHAR" property="ffjMc" />
|
||||
<result column="FFJ_IP" jdbcType="VARCHAR" property="ffjIp" />
|
||||
<result column="FFJ_JS" jdbcType="BIGINT" property="ffjJs" />
|
||||
<result column="KG_FW" jdbcType="BIGINT" property="kgFw" />
|
||||
<result column="SF_SX" jdbcType="BIGINT" property="sfSx" />
|
||||
<result column="SX_FW" jdbcType="VARCHAR" property="sxFw" />
|
||||
</resultMap>
|
||||
|
||||
<sql id="Base_Column_List">
|
||||
G_ID, FFJ_ID, FFJ_MC, FFJ_IP, FFJ_JS, KG_FW, SF_SX, SX_FW
|
||||
</sql>
|
||||
|
||||
<select id="selectByPrimaryKey" parameterType="java.lang.Long" resultMap="JkFfjInfoResultMap">
|
||||
select <include refid="Base_Column_List" />
|
||||
from JK_FFJ
|
||||
where FFJ_ID = #{ffjId,jdbcType=BIGINT}
|
||||
</select>
|
||||
|
||||
<delete id="delete" parameterType="java.lang.Long">
|
||||
delete from JK_FFJ
|
||||
where FFJ_ID = #{ffjId,jdbcType=BIGINT}
|
||||
</delete>
|
||||
|
||||
<insert id="insert" parameterType="com.nis.domain.restful.jk.JkFfjInfo">
|
||||
insert into JK_FFJ (FFJ_ID, FFJ_MC, FFJ_IP, FFJ_JS, KG_FW, SF_SX, SX_FW)
|
||||
values (#{ffjId,jdbcType=BIGINT},
|
||||
#{ffjMc,jdbcType=VARCHAR}, #{ffjIp,jdbcType=VARCHAR},
|
||||
#{ffjJs,jdbcType=BIGINT}, #{kgFw,jdbcType=BIGINT}, #{sfSx,jdbcType=BIGINT},
|
||||
#{sxFw,jdbcType=VARCHAR}
|
||||
)
|
||||
</insert>
|
||||
|
||||
<update id="update" parameterType="com.nis.domain.restful.jk.JkFfjInfo">
|
||||
update JK_FFJ
|
||||
<set>
|
||||
<if test="sfSx != null">SF_SX = #{sfSx,jdbcType=BIGINT},</if>
|
||||
</set>
|
||||
where FFJ_ID = #{ffjId,jdbcType=BIGINT}
|
||||
</update>
|
||||
|
||||
</mapper>
|
||||
@@ -1,21 +0,0 @@
|
||||
package com.nis.web.dao.jk;
|
||||
|
||||
import com.nis.domain.restful.jk.JkFwqInfo;
|
||||
import com.nis.web.dao.CrudDao;
|
||||
import com.nis.web.dao.MyBatisDao;
|
||||
/**
|
||||
*
|
||||
* @ClassName: JkFfjDao.java
|
||||
* @Description: TODO
|
||||
* @author (dell)
|
||||
* @date 2016年9月9日 上午10:01:09
|
||||
* @version V1.0
|
||||
*/
|
||||
@MyBatisDao
|
||||
public interface JkFwqInfoDao extends CrudDao<JkFwqInfo>{
|
||||
|
||||
int insert(JkFwqInfo record);
|
||||
|
||||
int update(JkFwqInfo record);
|
||||
|
||||
}
|
||||
@@ -1,33 +0,0 @@
|
||||
<?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.jk.JkFwqInfoDao">
|
||||
<resultMap id="resultMap" type="com.nis.domain.restful.jk.JkFwqInfo">
|
||||
<id column="G_ID" jdbcType="BIGINT" property="gId" />
|
||||
<result column="FWQ_ID" jdbcType="BIGINT" property="fwqId" />
|
||||
<result column="FWQ_MC" jdbcType="VARCHAR" property="fwqMc" />
|
||||
<result column="FWQ_IP" jdbcType="VARCHAR" property="fwqIp" />
|
||||
<result column="SF_SX" jdbcType="BIGINT" property="sfSx" />
|
||||
<result column="SX_FW" jdbcType="VARCHAR" property="sxFw" />
|
||||
</resultMap>
|
||||
|
||||
<sql id="Base_Column_List">
|
||||
G_ID, FWQ_ID, FWQ_MC, FWQ_IP, SF_SX, SX_FW
|
||||
</sql>
|
||||
|
||||
<insert id="insert" parameterType="com.nis.domain.restful.jk.JkFwqInfo">
|
||||
insert into JK_FWQ (FWQ_ID, FWQ_MC, FWQ_IP, SF_SX, SX_FW)
|
||||
values (#{fwqId,jdbcType=BIGINT},
|
||||
#{fwqMc,jdbcType=VARCHAR}, #{fwqIp,jdbcType=VARCHAR},
|
||||
#{sfSx,jdbcType=BIGINT}, #{sxFw,jdbcType=VARCHAR}
|
||||
)
|
||||
</insert>
|
||||
|
||||
<update id="update" parameterType="com.nis.domain.restful.jk.JkFwqInfo">
|
||||
update JK_FWQ
|
||||
<set>
|
||||
<if test="sfSx != null">SF_SX = #{sfSx,jdbcType=BIGINT},</if>
|
||||
</set>
|
||||
where FWQ_ID = #{fwqId,jdbcType=BIGINT}
|
||||
</update>
|
||||
|
||||
</mapper>
|
||||
@@ -1,21 +0,0 @@
|
||||
package com.nis.web.dao.jk;
|
||||
|
||||
import com.nis.domain.restful.jk.JkDmbCk;
|
||||
import com.nis.domain.restful.jk.JkLyq;
|
||||
import com.nis.web.dao.CrudDao;
|
||||
import com.nis.web.dao.MyBatisDao;
|
||||
/**
|
||||
*
|
||||
* @ClassName: DmbCkDao.java
|
||||
* @Description: TODO
|
||||
* @author (dell)
|
||||
* @date 2016年9月9日 上午10:03:33
|
||||
* @version V1.0
|
||||
*/
|
||||
@MyBatisDao
|
||||
public interface JkLyqDao extends CrudDao<JkLyq>{
|
||||
int delete(long id);
|
||||
int insert(JkLyq record);
|
||||
int update(JkLyq record);
|
||||
int updateValid(JkLyq record);
|
||||
}
|
||||
@@ -1,180 +0,0 @@
|
||||
<?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.jk.JkLyqDao">
|
||||
<resultMap id="BaseResultMap" type="com.nis.domain.restful.jk.JkLyq">
|
||||
<id column="G_ID" jdbcType="BIGINT" property="gId" />
|
||||
<result column="LYQ_ID" jdbcType="BIGINT" property="lyqId" />
|
||||
<result column="LYQ_MC" jdbcType="VARCHAR" property="lyqMc" />
|
||||
<result column="FWQ_ID" jdbcType="BIGINT" property="fwqId" />
|
||||
<result column="KGFS" jdbcType="BIGINT" property="kgfs" />
|
||||
<result column="GJ_CK_ID" jdbcType="BIGINT" property="gjCkId" />
|
||||
<result column="SF_SX" jdbcType="BIGINT" property="sfSx" />
|
||||
<result column="SX_FW" jdbcType="VARCHAR" property="sxFw" />
|
||||
<!--
|
||||
<result column="CZY_ID" jdbcType="BIGINT" property="czyId" />
|
||||
<result column="CZ_SJ" jdbcType="TIMESTAMP" property="czSj" />
|
||||
<result column="BZ" jdbcType="VARCHAR" property="bz" />
|
||||
<result column="YL" jdbcType="VARCHAR" property="yl" /> -->
|
||||
<result column="FWQ_DK" jdbcType="BIGINT" property="fwqDk" />
|
||||
</resultMap>
|
||||
<sql id="Base_Column_List">
|
||||
G_ID, LYQ_ID,LYQ_MC,FWQ_ID,KGFS,GJ_CK_ID,SF_SX,SX_FW ,<!--CZY_ID,CZ_SJ,BZ,YL, -->FWQ_DK
|
||||
</sql>
|
||||
<select id="selectByPrimaryKey" parameterType="java.lang.Long" resultMap="BaseResultMap">
|
||||
select
|
||||
<include refid="Base_Column_List" />
|
||||
from JK_LYQ
|
||||
where LYQ_ID = #{lyqId,jdbcType=BIGINT}
|
||||
</select>
|
||||
<delete id="delete" parameterType="java.lang.Long">
|
||||
delete from JK_LYQ
|
||||
where LYQ_ID = #{lyqId,jdbcType=BIGINT}
|
||||
</delete>
|
||||
<!--
|
||||
<insert id="insert" parameterType="com.nis.domain.restful.jk.JkLyq" keyProperty="lyqId">
|
||||
insert into JK_LYQ (LYQ_ID,LYQ_MC,FWQ_ID,KGFS,GJ_CK_ID,SF_SX,SX_FW,CZY_ID,CZ_SJ,BZ,YL,FWQ_DK
|
||||
)
|
||||
values (
|
||||
#{lyqId,jdbcType=BIGINT},
|
||||
#{lyqMc,jdbcType=VARCHAR},
|
||||
#{fwqId,jdbcType=BIGINT},
|
||||
#{kgfs,jdbcType=BIGINT},
|
||||
#{gjCkId,jdbcType=BIGINT},
|
||||
#{sfSx,jdbcType=BIGINT},
|
||||
#{sxFw,jdbcType=VARCHAR},
|
||||
#{czyId,jdbcType=BIGINT},
|
||||
#{czSj,jdbcType=TIMESTAMP},
|
||||
#{bz,jdbcType=VARCHAR},
|
||||
#{yl,jdbcType=VARCHAR},
|
||||
#{fwqDk,jdbcType=BIGINT}
|
||||
)
|
||||
</insert>
|
||||
-->
|
||||
<!---->
|
||||
<insert id="insert" parameterType="com.nis.domain.restful.jk.JkLyq">
|
||||
insert into JK_LYQ
|
||||
<trim prefix="(" suffix=")" suffixOverrides=",">
|
||||
<if test="lyqId != null">
|
||||
LYQ_ID ,
|
||||
</if>
|
||||
<if test="lyqMc != null">
|
||||
LYQ_MC ,
|
||||
</if>
|
||||
<if test="fwqId != null">
|
||||
FWQ_ID ,
|
||||
</if>
|
||||
<if test="kgfs != null">
|
||||
KGFS ,
|
||||
</if>
|
||||
<if test="gjCkId != null">
|
||||
GJ_CK_ID ,
|
||||
</if>
|
||||
<if test="sfSx != null">
|
||||
SF_SX ,
|
||||
</if>
|
||||
<if test="sxFw != null">
|
||||
SX_FW ,
|
||||
</if>
|
||||
<!--
|
||||
<if test="czyId != null">
|
||||
CZY_ID ,
|
||||
</if>
|
||||
<if test="czSj != null">
|
||||
CZ_SJ ,
|
||||
</if>
|
||||
<if test="bz != null">
|
||||
BZ ,
|
||||
</if>
|
||||
<if test="yl != null">
|
||||
YL ,
|
||||
</if> -->
|
||||
<if test="fwqDk != null">
|
||||
FWQ_DK ,
|
||||
</if>
|
||||
</trim>
|
||||
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
||||
<if test="lyqId != null">
|
||||
#{lyqId,jdbcType=BIGINT},
|
||||
</if>
|
||||
<if test="lyqMc != null">
|
||||
#{lyqMc,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="fwqId != null">
|
||||
#{fwqId,jdbcType=BIGINT},
|
||||
</if>
|
||||
<if test="kgfs != null">
|
||||
#{kgfs,jdbcType=BIGINT},
|
||||
</if>
|
||||
<if test="gjCkId != null">
|
||||
#{gjCkId,jdbcType=BIGINT},
|
||||
</if>
|
||||
<if test="sfSx != null">
|
||||
#{sfSx,jdbcType=BIGINT},
|
||||
</if>
|
||||
<if test="sxFw != null">
|
||||
#{sxFw,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<!--
|
||||
<if test="czyId != null">
|
||||
#{czyId,jdbcType=BIGINT},
|
||||
</if>
|
||||
<if test="czSj != null">
|
||||
#{czSj,jdbcType=TIMESTAMP},
|
||||
</if>
|
||||
<if test="bz != null">
|
||||
#{bz,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="yl != null">
|
||||
#{yl,jdbcType=VARCHAR},
|
||||
</if>
|
||||
-->
|
||||
<if test="fwqDk != null">
|
||||
#{fwqDk,jdbcType=BIGINT},
|
||||
</if>
|
||||
</trim>
|
||||
</insert>
|
||||
<update id="update" parameterType="com.nis.domain.restful.jk.JkLyq">
|
||||
update JK_LYQ set SF_SX = #{sfSx,jdbcType=BIGINT} where LYQ_ID = #{lyqId,jdbcType=BIGINT}
|
||||
</update>
|
||||
<!--
|
||||
<update id="update" parameterType="com.nis.domain.restful.jk.JkLyq">
|
||||
update JK_LYQ
|
||||
<set>
|
||||
<if test="lyqMc != null">
|
||||
LYQ_MC = #{lyqMc,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="fwqId != null">
|
||||
FWQ_ID = #{fwqId,jdbcType=BIGINT},
|
||||
</if>
|
||||
<if test="kgfs != null">
|
||||
KGFS = #{kgfs,jdbcType=BIGINT},
|
||||
</if>
|
||||
<if test="gjCkId != null">
|
||||
GJ_CK_ID = #{gjCkId,jdbcType=BIGINT},
|
||||
</if>
|
||||
<if test="sfSx != null">
|
||||
SF_SX = #{sfSx,jdbcType=BIGINT},
|
||||
</if>
|
||||
<if test="sxFw != null">
|
||||
SX_FW = #{sxFw,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="czyId != null">
|
||||
CZY_ID = #{czyId,jdbcType=BIGINT},
|
||||
</if>
|
||||
<if test="czSj != null">
|
||||
CZ_SJ = #{czSj,jdbcType=TIMESTAMP},
|
||||
</if>
|
||||
<if test="bz != null">
|
||||
BZ = #{bz,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="yl != null">
|
||||
YL = #{yl,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="fwqDk != null">
|
||||
FWQ_DK = #{fwqDk,jdbcType=BIGINT},
|
||||
</if>
|
||||
</set>
|
||||
where LYQ_ID = #{lyqId,jdbcType=BIGINT}
|
||||
</update>
|
||||
-->
|
||||
</mapper>
|
||||
Reference in New Issue
Block a user