Commit 413c10a7 by niewei

Merge remote-tracking branch 'origin/develop' into develop

parents 5a20f98c 815e97af
package com.brilliance.isc.bo;
import com.brilliance.isc.common.vo.AbstractCommonVo;
import com.brilliance.mda.runtime.mda.util.Decimals;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import lombok.Data;
import java.math.BigDecimal;
import java.util.Date;
import static com.brilliance.mda.runtime.mda.Constants.NULLDATE;
import static com.brilliance.mda.runtime.mda.Constants.NULLSTR;
/**
* TABLE:fxd:
*/
@Data
@JsonIgnoreProperties(ignoreUnknown = true)
public class Fxd extends AbstractCommonVo {
//Internal Unique ID of Import L/C
private String inr = NULLSTR;
//Reference
private String ownref = NULLSTR;
//Externally Displayed Name to Identify the Contract
private String nam = NULLSTR;
//Date Foreign Exchange Opened/Issued
@JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
private Date opndat = NULLDATE;
//Responsible User
private String ownusr = NULLSTR;
//Foreign Exchange Type
private String fxtyp = NULLSTR;
//Rate
private BigDecimal rat = Decimals.ZERO_SCALE6;
//Middle Rate
private BigDecimal midrat = Decimals.ZERO_SCALE6;
//Quote Reference
private String quoref = NULLSTR;
//Fund Department Reference
private String fudref = NULLSTR;
//Value date
@JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
private Date valdat = NULLDATE;
//Date of confirmation
@JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
private Date cnfdat = NULLDATE;
//Settlement Date
@JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
private Date setdat = NULLDATE;
//Settlemt date from
@JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
private Date setdatfrm = NULLDATE;
//Settlement date to
@JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
private Date setdatto = NULLDATE;
//Date of Closed
@JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
private Date clsdat = NULLDATE;
//Version
private String ver = NULLSTR;
//Branch INR
private String branchinr = NULLSTR;
//Branch INR
private String bchkeyinr = NULLSTR;
//TRADE IN
private String trdint = NULLSTR;
//TRADE OUT
private String trdout = NULLSTR;
//交易主体
private String trnman = NULLSTR;
//Foreign Account
private String acc = NULLSTR;
//CNY Account
private String acc2 = NULLSTR;
//Clearing Department Responsible User
private String usr = NULLSTR;
//Disposition
private String dsp = NULLSTR;
//Disposition
private String dsp2 = NULLSTR;
//Cash cover percent
private BigDecimal cshpct = Decimals.ZERO_SCALE2;
//Rate
private BigDecimal rat1 = Decimals.ZERO_SCALE6;
//Account manager
private String accmng = NULLSTR;
//客户经理部门
private String hdbch = NULLSTR;
//Entity KEY of Entry
private String etyextkey = NULLSTR;
}
\ No newline at end of file
package com.brilliance.isc.bo;
import com.brilliance.isc.common.vo.AbstractCommonVo;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import lombok.Data;
import static com.brilliance.mda.runtime.mda.Constants.NULLSTR;
/**
* TABLE:fxt:
*/
@Data
@JsonIgnoreProperties(ignoreUnknown = true)
public class Fxt extends AbstractCommonVo {
//Internal Unique ID
private String inr = NULLSTR;
//Remark
private String remark = NULLSTR;
}
\ No newline at end of file
package com.brilliance.isc.mda.dao;
import com.brilliance.isc.bo.Fxd;
import org.apache.ibatis.annotations.Mapper;
import java.util.Collection;
import java.util.List;
import java.util.Map;
@Mapper
public interface FxdMapper {
int insert(Fxd record);
int insertSelective(Fxd record);
int updateByPrimaryKeySelective(Fxd record);
int updateByPrimaryKey(Fxd record);
int deleteByPrimaryKey(Fxd record);
int deleteByIds(Collection<Object> collection);
//修改语句
int dyncUpdate(Map<String, Object> dyncMap);
Fxd selectByPrimaryKey(Fxd record);
int dyncDelete(Map<String, Object> dyncMap);
List<Fxd> dyncRead(Map<String, Object> dyncMap);
}
\ No newline at end of file
package com.brilliance.isc.mda.dao;
import com.brilliance.isc.bo.Fxt;
import org.apache.ibatis.annotations.Mapper;
import java.util.Collection;
import java.util.List;
import java.util.Map;
@Mapper
public interface FxtMapper {
int insert(Fxt record);
int insertSelective(Fxt record);
int updateByPrimaryKeySelective(Fxt record);
int updateByPrimaryKey(Fxt record);
int deleteByPrimaryKey(Fxt record);
int deleteByIds(Collection<Object> collection);
//修改语句
int dyncUpdate(Map<String, Object> dyncMap);
Fxt selectByPrimaryKey(Fxt record);
int dyncDelete(Map<String, Object> dyncMap);
List<Fxt> dyncRead(Map<String, Object> dyncMap);
}
\ No newline at end of file
<?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.brilliance.isc.mda.dao.FxdMapper">
<resultMap id="BaseResultMap" type="com.brilliance.isc.bo.Fxd">
<result property="inr" column="inr" jdbcType="VARCHAR"/>
<result property="ownref" column="ownref" jdbcType="VARCHAR"/>
<result property="nam" column="nam" jdbcType="VARCHAR"/>
<result property="opndat" column="opndat" jdbcType="DATE"/>
<result property="ownusr" column="ownusr" jdbcType="VARCHAR"/>
<result property="fxtyp" column="fxtyp" jdbcType="VARCHAR"/>
<result property="rat" column="rat" jdbcType="DECIMAL"/>
<result property="midrat" column="midrat" jdbcType="DECIMAL"/>
<result property="quoref" column="quoref" jdbcType="VARCHAR"/>
<result property="fudref" column="fudref" jdbcType="VARCHAR"/>
<result property="valdat" column="valdat" jdbcType="DATE"/>
<result property="cnfdat" column="cnfdat" jdbcType="DATE"/>
<result property="setdat" column="setdat" jdbcType="DATE"/>
<result property="setdatfrm" column="setdatfrm" jdbcType="DATE"/>
<result property="setdatto" column="setdatto" jdbcType="DATE"/>
<result property="clsdat" column="clsdat" jdbcType="DATE"/>
<result property="ver" column="ver" jdbcType="VARCHAR"/>
<result property="branchinr" column="branchinr" jdbcType="VARCHAR"/>
<result property="bchkeyinr" column="bchkeyinr" jdbcType="VARCHAR"/>
<result property="trdint" column="trdint" jdbcType="VARCHAR"/>
<result property="trdout" column="trdout" jdbcType="VARCHAR"/>
<result property="trnman" column="trnman" jdbcType="VARCHAR"/>
<result property="acc" column="acc" jdbcType="VARCHAR"/>
<result property="acc2" column="acc2" jdbcType="VARCHAR"/>
<result property="usr" column="usr" jdbcType="VARCHAR"/>
<result property="dsp" column="dsp" jdbcType="VARCHAR"/>
<result property="dsp2" column="dsp2" jdbcType="VARCHAR"/>
<result property="cshpct" column="cshpct" jdbcType="DECIMAL"/>
<result property="rat1" column="rat1" jdbcType="DECIMAL"/>
<result property="accmng" column="accmng" jdbcType="VARCHAR"/>
<result property="hdbch" column="hdbch" jdbcType="VARCHAR"/>
<result property="etyextkey" column="etyextkey" jdbcType="VARCHAR"/>
</resultMap>
<sql id="Base_Column_List">
inr,ownref,nam,opndat,ownusr,fxtyp,rat,midrat,quoref,fudref,valdat,cnfdat,setdat,setdatfrm,setdatto,clsdat,ver,branchinr,bchkeyinr,trdint,trdout,trnman,acc,acc2,usr,dsp,dsp2,cshpct,rat1,accmng,hdbch,etyextkey
</sql>
<select id="selectByPrimaryKey" resultMap="BaseResultMap">
select
<include refid="Base_Column_List"/>
from fxd
where inr = #{inr,jdbcType=VARCHAR}
</select>
<delete id="deleteByPrimaryKey">
delete from fxd
where inr = #{inr,jdbcType=VARCHAR}
</delete>
<insert id="insert">
insert into fxd (<include refid="Base_Column_List"/>)
<trim prefix="values (" suffix=")" suffixOverrides=",">
#{inr,jdbcType=VARCHAR},
#{ownref,jdbcType=VARCHAR},
#{nam,jdbcType=VARCHAR},
#{opndat,jdbcType=DATE},
#{ownusr,jdbcType=VARCHAR},
#{fxtyp,jdbcType=VARCHAR},
#{rat,jdbcType=DECIMAL},
#{midrat,jdbcType=DECIMAL},
#{quoref,jdbcType=VARCHAR},
#{fudref,jdbcType=VARCHAR},
#{valdat,jdbcType=DATE},
#{cnfdat,jdbcType=DATE},
#{setdat,jdbcType=DATE},
#{setdatfrm,jdbcType=DATE},
#{setdatto,jdbcType=DATE},
#{clsdat,jdbcType=DATE},
#{ver,jdbcType=VARCHAR},
#{branchinr,jdbcType=VARCHAR},
#{bchkeyinr,jdbcType=VARCHAR},
#{trdint,jdbcType=VARCHAR},
#{trdout,jdbcType=VARCHAR},
#{trnman,jdbcType=VARCHAR},
#{acc,jdbcType=VARCHAR},
#{acc2,jdbcType=VARCHAR},
#{usr,jdbcType=VARCHAR},
#{dsp,jdbcType=VARCHAR},
#{dsp2,jdbcType=VARCHAR},
#{cshpct,jdbcType=DECIMAL},
#{rat1,jdbcType=DECIMAL},
#{accmng,jdbcType=VARCHAR},
#{hdbch,jdbcType=VARCHAR},
#{etyextkey,jdbcType=VARCHAR},
</trim>
</insert>
<insert id="insertSelective">
insert into fxd
<trim prefix="(" suffix=")" suffixOverrides=",">
<if test="inr != null">inr,</if>
<if test="ownref != null">ownref,</if>
<if test="nam != null">nam,</if>
<if test="opndat != null">opndat,</if>
<if test="ownusr != null">ownusr,</if>
<if test="fxtyp != null">fxtyp,</if>
<if test="rat != null">rat,</if>
<if test="midrat != null">midrat,</if>
<if test="quoref != null">quoref,</if>
<if test="fudref != null">fudref,</if>
<if test="valdat != null">valdat,</if>
<if test="cnfdat != null">cnfdat,</if>
<if test="setdat != null">setdat,</if>
<if test="setdatfrm != null">setdatfrm,</if>
<if test="setdatto != null">setdatto,</if>
<if test="clsdat != null">clsdat,</if>
<if test="ver != null">ver,</if>
<if test="branchinr != null">branchinr,</if>
<if test="bchkeyinr != null">bchkeyinr,</if>
<if test="trdint != null">trdint,</if>
<if test="trdout != null">trdout,</if>
<if test="trnman != null">trnman,</if>
<if test="acc != null">acc,</if>
<if test="acc2 != null">acc2,</if>
<if test="usr != null">usr,</if>
<if test="dsp != null">dsp,</if>
<if test="dsp2 != null">dsp2,</if>
<if test="cshpct != null">cshpct,</if>
<if test="rat1 != null">rat1,</if>
<if test="accmng != null">accmng,</if>
<if test="hdbch != null">hdbch,</if>
<if test="etyextkey != null">etyextkey,</if>
</trim>
<trim prefix="values (" suffix=")" suffixOverrides=",">
<if test="inr != null">#{inr,jdbcType=VARCHAR},</if>
<if test="ownref != null">#{ownref,jdbcType=VARCHAR},</if>
<if test="nam != null">#{nam,jdbcType=VARCHAR},</if>
<if test="opndat != null">#{opndat,jdbcType=DATE},</if>
<if test="ownusr != null">#{ownusr,jdbcType=VARCHAR},</if>
<if test="fxtyp != null">#{fxtyp,jdbcType=VARCHAR},</if>
<if test="rat != null">#{rat,jdbcType=DECIMAL},</if>
<if test="midrat != null">#{midrat,jdbcType=DECIMAL},</if>
<if test="quoref != null">#{quoref,jdbcType=VARCHAR},</if>
<if test="fudref != null">#{fudref,jdbcType=VARCHAR},</if>
<if test="valdat != null">#{valdat,jdbcType=DATE},</if>
<if test="cnfdat != null">#{cnfdat,jdbcType=DATE},</if>
<if test="setdat != null">#{setdat,jdbcType=DATE},</if>
<if test="setdatfrm != null">#{setdatfrm,jdbcType=DATE},</if>
<if test="setdatto != null">#{setdatto,jdbcType=DATE},</if>
<if test="clsdat != null">#{clsdat,jdbcType=DATE},</if>
<if test="ver != null">#{ver,jdbcType=VARCHAR},</if>
<if test="branchinr != null">#{branchinr,jdbcType=VARCHAR},</if>
<if test="bchkeyinr != null">#{bchkeyinr,jdbcType=VARCHAR},</if>
<if test="trdint != null">#{trdint,jdbcType=VARCHAR},</if>
<if test="trdout != null">#{trdout,jdbcType=VARCHAR},</if>
<if test="trnman != null">#{trnman,jdbcType=VARCHAR},</if>
<if test="acc != null">#{acc,jdbcType=VARCHAR},</if>
<if test="acc2 != null">#{acc2,jdbcType=VARCHAR},</if>
<if test="usr != null">#{usr,jdbcType=VARCHAR},</if>
<if test="dsp != null">#{dsp,jdbcType=VARCHAR},</if>
<if test="dsp2 != null">#{dsp2,jdbcType=VARCHAR},</if>
<if test="cshpct != null">#{cshpct,jdbcType=DECIMAL},</if>
<if test="rat1 != null">#{rat1,jdbcType=DECIMAL},</if>
<if test="accmng != null">#{accmng,jdbcType=VARCHAR},</if>
<if test="hdbch != null">#{hdbch,jdbcType=VARCHAR},</if>
<if test="etyextkey != null">#{etyextkey,jdbcType=VARCHAR},</if>
</trim>
</insert>
<update id="updateByPrimaryKeySelective">
update fxd
<set>
<if test="ownref != null">ownref = #{ownref,jdbcType=VARCHAR},</if>
<if test="nam != null">nam = #{nam,jdbcType=VARCHAR},</if>
<if test="opndat != null">opndat = #{opndat,jdbcType=DATE},</if>
<if test="ownusr != null">ownusr = #{ownusr,jdbcType=VARCHAR},</if>
<if test="fxtyp != null">fxtyp = #{fxtyp,jdbcType=VARCHAR},</if>
<if test="rat != null">rat = #{rat,jdbcType=DECIMAL},</if>
<if test="midrat != null">midrat = #{midrat,jdbcType=DECIMAL},</if>
<if test="quoref != null">quoref = #{quoref,jdbcType=VARCHAR},</if>
<if test="fudref != null">fudref = #{fudref,jdbcType=VARCHAR},</if>
<if test="valdat != null">valdat = #{valdat,jdbcType=DATE},</if>
<if test="cnfdat != null">cnfdat = #{cnfdat,jdbcType=DATE},</if>
<if test="setdat != null">setdat = #{setdat,jdbcType=DATE},</if>
<if test="setdatfrm != null">setdatfrm = #{setdatfrm,jdbcType=DATE},</if>
<if test="setdatto != null">setdatto = #{setdatto,jdbcType=DATE},</if>
<if test="clsdat != null">clsdat = #{clsdat,jdbcType=DATE},</if>
<if test="ver != null">ver = #{ver,jdbcType=VARCHAR},</if>
<if test="branchinr != null">branchinr = #{branchinr,jdbcType=VARCHAR},</if>
<if test="bchkeyinr != null">bchkeyinr = #{bchkeyinr,jdbcType=VARCHAR},</if>
<if test="trdint != null">trdint = #{trdint,jdbcType=VARCHAR},</if>
<if test="trdout != null">trdout = #{trdout,jdbcType=VARCHAR},</if>
<if test="trnman != null">trnman = #{trnman,jdbcType=VARCHAR},</if>
<if test="acc != null">acc = #{acc,jdbcType=VARCHAR},</if>
<if test="acc2 != null">acc2 = #{acc2,jdbcType=VARCHAR},</if>
<if test="usr != null">usr = #{usr,jdbcType=VARCHAR},</if>
<if test="dsp != null">dsp = #{dsp,jdbcType=VARCHAR},</if>
<if test="dsp2 != null">dsp2 = #{dsp2,jdbcType=VARCHAR},</if>
<if test="cshpct != null">cshpct = #{cshpct,jdbcType=DECIMAL},</if>
<if test="rat1 != null">rat1 = #{rat1,jdbcType=DECIMAL},</if>
<if test="accmng != null">accmng = #{accmng,jdbcType=VARCHAR},</if>
<if test="hdbch != null">hdbch = #{hdbch,jdbcType=VARCHAR},</if>
<if test="etyextkey != null">etyextkey = #{etyextkey,jdbcType=VARCHAR},</if>
</set>
where inr = #{inr,jdbcType=VARCHAR}
</update>
<update id="updateByPrimaryKey">
update fxd
<set>
ownref = #{ownref,jdbcType=VARCHAR},
nam = #{nam,jdbcType=VARCHAR},
opndat = #{opndat,jdbcType=DATE},
ownusr = #{ownusr,jdbcType=VARCHAR},
fxtyp = #{fxtyp,jdbcType=VARCHAR},
rat = #{rat,jdbcType=DECIMAL},
midrat = #{midrat,jdbcType=DECIMAL},
quoref = #{quoref,jdbcType=VARCHAR},
fudref = #{fudref,jdbcType=VARCHAR},
valdat = #{valdat,jdbcType=DATE},
cnfdat = #{cnfdat,jdbcType=DATE},
setdat = #{setdat,jdbcType=DATE},
setdatfrm = #{setdatfrm,jdbcType=DATE},
setdatto = #{setdatto,jdbcType=DATE},
clsdat = #{clsdat,jdbcType=DATE},
ver = #{ver,jdbcType=VARCHAR},
branchinr = #{branchinr,jdbcType=VARCHAR},
bchkeyinr = #{bchkeyinr,jdbcType=VARCHAR},
trdint = #{trdint,jdbcType=VARCHAR},
trdout = #{trdout,jdbcType=VARCHAR},
trnman = #{trnman,jdbcType=VARCHAR},
acc = #{acc,jdbcType=VARCHAR},
acc2 = #{acc2,jdbcType=VARCHAR},
usr = #{usr,jdbcType=VARCHAR},
dsp = #{dsp,jdbcType=VARCHAR},
dsp2 = #{dsp2,jdbcType=VARCHAR},
cshpct = #{cshpct,jdbcType=DECIMAL},
rat1 = #{rat1,jdbcType=DECIMAL},
accmng = #{accmng,jdbcType=VARCHAR},
hdbch = #{hdbch,jdbcType=VARCHAR},
etyextkey = #{etyextkey,jdbcType=VARCHAR},
</set>
where inr = #{inr,jdbcType=VARCHAR}
</update>
<delete id="deleteByIds">
delete from act where inr in
<foreach item="item" index="index" collection="collection" open="(" separator="," close=")">
#{item}
</foreach>
</delete>
<update id="dyncUpdate">
update fxd
<set>
<if test="module.ownref != null">ownref = #{module.ownref,jdbcType=VARCHAR},</if>
<if test="module.nam != null">nam = #{module.nam,jdbcType=VARCHAR},</if>
<if test="module.opndat != null">opndat = #{module.opndat,jdbcType=DATE},</if>
<if test="module.ownusr != null">ownusr = #{module.ownusr,jdbcType=VARCHAR},</if>
<if test="module.fxtyp != null">fxtyp = #{module.fxtyp,jdbcType=VARCHAR},</if>
<if test="module.rat != null">rat = #{module.rat,jdbcType=DECIMAL},</if>
<if test="module.midrat != null">midrat = #{module.midrat,jdbcType=DECIMAL},</if>
<if test="module.quoref != null">quoref = #{module.quoref,jdbcType=VARCHAR},</if>
<if test="module.fudref != null">fudref = #{module.fudref,jdbcType=VARCHAR},</if>
<if test="module.valdat != null">valdat = #{module.valdat,jdbcType=DATE},</if>
<if test="module.cnfdat != null">cnfdat = #{module.cnfdat,jdbcType=DATE},</if>
<if test="module.setdat != null">setdat = #{module.setdat,jdbcType=DATE},</if>
<if test="module.setdatfrm != null">setdatfrm = #{module.setdatfrm,jdbcType=DATE},</if>
<if test="module.setdatto != null">setdatto = #{module.setdatto,jdbcType=DATE},</if>
<if test="module.clsdat != null">clsdat = #{module.clsdat,jdbcType=DATE},</if>
<if test="module.ver != null">ver = #{module.ver,jdbcType=VARCHAR},</if>
<if test="module.branchinr != null">branchinr = #{module.branchinr,jdbcType=VARCHAR},</if>
<if test="module.bchkeyinr != null">bchkeyinr = #{module.bchkeyinr,jdbcType=VARCHAR},</if>
<if test="module.trdint != null">trdint = #{module.trdint,jdbcType=VARCHAR},</if>
<if test="module.trdout != null">trdout = #{module.trdout,jdbcType=VARCHAR},</if>
<if test="module.trnman != null">trnman = #{module.trnman,jdbcType=VARCHAR},</if>
<if test="module.acc != null">acc = #{module.acc,jdbcType=VARCHAR},</if>
<if test="module.acc2 != null">acc2 = #{module.acc2,jdbcType=VARCHAR},</if>
<if test="module.usr != null">usr = #{module.usr,jdbcType=VARCHAR},</if>
<if test="module.dsp != null">dsp = #{module.dsp,jdbcType=VARCHAR},</if>
<if test="module.dsp2 != null">dsp2 = #{module.dsp2,jdbcType=VARCHAR},</if>
<if test="module.cshpct != null">cshpct = #{module.cshpct,jdbcType=DECIMAL},</if>
<if test="module.rat1 != null">rat1 = #{module.rat1,jdbcType=DECIMAL},</if>
<if test="module.accmng != null">accmng = #{module.accmng,jdbcType=VARCHAR},</if>
<if test="module.hdbch != null">hdbch = #{module.hdbch,jdbcType=VARCHAR},</if>
<if test="module.etyextkey != null">etyextkey = #{module.etyextkey,jdbcType=VARCHAR},</if>
</set>
${conditions}
</update>
<delete id="dyncDelete">
${sql}
</delete>
<select id="dyncRead" resultMap="BaseResultMap">
${sql}
</select>
</mapper>
<?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.brilliance.isc.mda.dao.FxtMapper">
<resultMap id="BaseResultMap" type="com.brilliance.isc.bo.Fxt">
<result property="inr" column="inr" jdbcType="VARCHAR"/>
<result property="remark" column="remark" jdbcType="VARCHAR"/>
</resultMap>
<sql id="Base_Column_List">
inr,remark
</sql>
<select id="selectByPrimaryKey" resultMap="BaseResultMap">
select
<include refid="Base_Column_List" />
from fxt
where inr = #{inr,jdbcType=VARCHAR}
</select>
<delete id="deleteByPrimaryKey">
delete from fxt
where inr = #{inr,jdbcType=VARCHAR}
</delete>
<insert id="insert">
insert into fxt (<include refid="Base_Column_List" />)
<trim prefix="values (" suffix=")" suffixOverrides=",">
#{inr,jdbcType=VARCHAR},
#{remark,jdbcType=VARCHAR},
</trim>
</insert>
<insert id="insertSelective">
insert into fxt
<trim prefix="(" suffix=")" suffixOverrides=",">
<if test="inr != null">inr,</if>
<if test="remark != null">remark,</if>
</trim>
<trim prefix="values (" suffix=")" suffixOverrides=",">
<if test="inr != null">#{inr,jdbcType=VARCHAR}, </if>
<if test="remark != null">#{remark,jdbcType=VARCHAR}, </if>
</trim>
</insert>
<update id="updateByPrimaryKeySelective">
update fxt
<set>
<if test="remark != null">remark = #{remark,jdbcType=VARCHAR},</if>
</set>
where inr = #{inr,jdbcType=VARCHAR}
</update>
<update id="updateByPrimaryKey">
update fxt
<set>
remark = #{remark,jdbcType=VARCHAR},
</set>
where inr = #{inr,jdbcType=VARCHAR}
</update>
<delete id="deleteByIds">
delete from act where inr in
<foreach item="item" index="index" collection="collection" open="(" separator="," close=")">
#{item}
</foreach>
</delete>
<update id="dyncUpdate">
update fxt
<set>
<if test="module.remark != null">remark = #{module.remark,jdbcType=VARCHAR},</if>
</set>
${conditions}
</update>
<delete id="dyncDelete">
${sql}
</delete>
<select id="dyncRead" resultMap="BaseResultMap">
${sql}
</select>
</mapper>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment