parent
89912dcb91
commit
744f3afccd
@ -0,0 +1,12 @@ |
|||||||
|
package com.dxhy.order.consumer.dao; |
||||||
|
|
||||||
|
import com.dxhy.order.consumer.modules.bespoke.model.yy.NewTable; |
||||||
|
|
||||||
|
public interface TInvoiceInvmapMapper { |
||||||
|
|
||||||
|
//插入回写信息
|
||||||
|
int insertBackMsg(NewTable newTable); |
||||||
|
|
||||||
|
//删除原信息
|
||||||
|
int deleteBackMsg(String cdlCode); |
||||||
|
} |
@ -0,0 +1,96 @@ |
|||||||
|
<?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.dxhy.order.consumer.dao.TInvoiceInvmapMapper"> |
||||||
|
|
||||||
|
<insert id="insertBackMsg" parameterType="com.dxhy.order.consumer.modules.bespoke.model.yy.NewTable"> |
||||||
|
insert into T_INVOICE_INVMAP |
||||||
|
<trim prefix="(" suffix=")" suffixOverrides=","> |
||||||
|
<if test="cDLCode != null"> |
||||||
|
cDLCode, |
||||||
|
</if> |
||||||
|
<if test="invoiceNo != null"> |
||||||
|
invoiceNo, |
||||||
|
</if> |
||||||
|
<if test="invoiceCode != null"> |
||||||
|
invoiceCode, |
||||||
|
</if> |
||||||
|
<if test="invoiceTime != null"> |
||||||
|
invoiceTime, |
||||||
|
</if> |
||||||
|
<if test="invoiceAmount != null"> |
||||||
|
invoiceAmount, |
||||||
|
</if> |
||||||
|
<if test="invoicePhoto != null"> |
||||||
|
invoicePhoto, |
||||||
|
</if> |
||||||
|
<if test="invoiceFilename != null"> |
||||||
|
invoiceFilename, |
||||||
|
</if> |
||||||
|
<if test="bpmlsNo != null"> |
||||||
|
bpmlsNo, |
||||||
|
</if> |
||||||
|
<if test="bpmNo != null"> |
||||||
|
bpmNo, |
||||||
|
</if> |
||||||
|
<if test="operater != null"> |
||||||
|
operater, |
||||||
|
</if> |
||||||
|
<if test="operateDate != null"> |
||||||
|
operateDate, |
||||||
|
</if> |
||||||
|
<if test="shipper != null"> |
||||||
|
shipper, |
||||||
|
</if> |
||||||
|
<if test="status != null"> |
||||||
|
status, |
||||||
|
</if> |
||||||
|
</trim> |
||||||
|
<trim prefix="values (" suffix=")" suffixOverrides=","> |
||||||
|
<if test="cDLCode != null"> |
||||||
|
#{cDLCode}, |
||||||
|
</if> |
||||||
|
<if test="invoiceNo != null"> |
||||||
|
#{invoiceNo}, |
||||||
|
</if> |
||||||
|
<if test="invoiceCode != null"> |
||||||
|
#{invoiceCode}, |
||||||
|
</if> |
||||||
|
<if test="invoiceTime != null"> |
||||||
|
#{invoiceTime}, |
||||||
|
</if> |
||||||
|
<if test="invoiceAmount != null"> |
||||||
|
#{invoiceAmount}, |
||||||
|
</if> |
||||||
|
<if test="invoicePhoto != null"> |
||||||
|
#{invoicePhoto}, |
||||||
|
</if> |
||||||
|
<if test="invoiceFilename != null"> |
||||||
|
#{invoiceFilename}, |
||||||
|
</if> |
||||||
|
<if test="bpmlsNo != null"> |
||||||
|
#{bpmlsNo}, |
||||||
|
</if> |
||||||
|
<if test="bpmNo != null"> |
||||||
|
#{bpmNo}, |
||||||
|
</if> |
||||||
|
<if test="operater != null"> |
||||||
|
#{operater}, |
||||||
|
</if> |
||||||
|
<if test="operateDate != null"> |
||||||
|
#{operateDate}, |
||||||
|
</if> |
||||||
|
<if test="shipper != null"> |
||||||
|
#{shipper}, |
||||||
|
</if> |
||||||
|
<if test="status != null"> |
||||||
|
#{status}, |
||||||
|
</if> |
||||||
|
</trim> |
||||||
|
</insert> |
||||||
|
|
||||||
|
|
||||||
|
<delete id="deleteBackMsg"> |
||||||
|
delete from T_INVOICE_INVMAP where cdlcode = #{cdlCode} |
||||||
|
</delete> |
||||||
|
|
||||||
|
</mapper> |
Loading…
Reference in new issue