|
@@ -39,6 +39,7 @@
|
|
<result column="interType" property="interType"/>
|
|
<result column="interType" property="interType"/>
|
|
<result column="invoiceStatus" property="invoiceStatus"/>
|
|
<result column="invoiceStatus" property="invoiceStatus"/>
|
|
<result column="msg" property="msg"/>
|
|
<result column="msg" property="msg"/>
|
|
|
|
+ <result column="waybillNumAct" property="waybillNumAct"/>
|
|
</resultMap>
|
|
</resultMap>
|
|
|
|
|
|
<sql id="baseSql">
|
|
<sql id="baseSql">
|
|
@@ -76,7 +77,7 @@
|
|
</sql>
|
|
</sql>
|
|
<select id="selectAllByPage" resultMap="BaseResultMap">
|
|
<select id="selectAllByPage" resultMap="BaseResultMap">
|
|
select
|
|
select
|
|
- <include refid="baseSql" />,waybillStatus billStatus,calculateTime,invoiceStatus,msg
|
|
|
|
|
|
+ <include refid="baseSql" />,waybillStatus billStatus,calculateTime,invoiceStatus,msg,waybillNumAct
|
|
from t_billInvoice
|
|
from t_billInvoice
|
|
<where>
|
|
<where>
|
|
<if test="billInvoice.customerName != null and billInvoice.customerName != ''">
|
|
<if test="billInvoice.customerName != null and billInvoice.customerName != ''">
|
|
@@ -190,7 +191,8 @@
|
|
buyerName,
|
|
buyerName,
|
|
buyerTaxpayerCode,calculateTime,
|
|
buyerTaxpayerCode,calculateTime,
|
|
invoiceStatus,
|
|
invoiceStatus,
|
|
- msg
|
|
|
|
|
|
+ msg,
|
|
|
|
+ waybillNumAct
|
|
)
|
|
)
|
|
values ( #{companyNum,jdbcType=VARCHAR},#{customerName,jdbcType=VARCHAR},#{companyName,jdbcType=VARCHAR},#{waybillNum,jdbcType=VARCHAR}, #{invoiceNum,jdbcType=VARCHAR},
|
|
values ( #{companyNum,jdbcType=VARCHAR},#{customerName,jdbcType=VARCHAR},#{companyName,jdbcType=VARCHAR},#{waybillNum,jdbcType=VARCHAR}, #{invoiceNum,jdbcType=VARCHAR},
|
|
#{invoiceCode,jdbcType=VARCHAR}, #{invoiceMakeTime,jdbcType=VARCHAR}, #{invoiceUrl,jdbcType=VARCHAR},
|
|
#{invoiceCode,jdbcType=VARCHAR}, #{invoiceMakeTime,jdbcType=VARCHAR}, #{invoiceUrl,jdbcType=VARCHAR},
|
|
@@ -203,6 +205,7 @@
|
|
,#{calculateTime,jdbcType=VARCHAR}
|
|
,#{calculateTime,jdbcType=VARCHAR}
|
|
,#{invoiceStatus,jdbcType=INTEGER}
|
|
,#{invoiceStatus,jdbcType=INTEGER}
|
|
,#{msg,jdbcType=VARCHAR}
|
|
,#{msg,jdbcType=VARCHAR}
|
|
|
|
+ ,#{waybillNumAct,jdbcType=VARCHAR}
|
|
)
|
|
)
|
|
</insert>
|
|
</insert>
|
|
<update id="updateByPrimaryKey" parameterType="com.jkcredit.invoice.model.entity.invoice.BillInvoice" >
|
|
<update id="updateByPrimaryKey" parameterType="com.jkcredit.invoice.model.entity.invoice.BillInvoice" >
|
|
@@ -279,7 +282,7 @@
|
|
</update>
|
|
</update>
|
|
<select id="selectByBillNum" resultMap="BaseResultMap" parameterType="java.lang.String" >
|
|
<select id="selectByBillNum" resultMap="BaseResultMap" parameterType="java.lang.String" >
|
|
select
|
|
select
|
|
- <include refid="baseSql" />,calculateTime,invoiceStatus,msg
|
|
|
|
|
|
+ <include refid="baseSql" />,calculateTime,invoiceStatus,msg,waybillNumAct
|
|
from t_billInvoice
|
|
from t_billInvoice
|
|
where waybillNum = BINARY #{waybillNum,jdbcType=VARCHAR}
|
|
where waybillNum = BINARY #{waybillNum,jdbcType=VARCHAR}
|
|
</select>
|
|
</select>
|