Commit f3f36e29 authored by jiaorz's avatar jiaorz

发票接口

parent c37341b1
......@@ -100,14 +100,14 @@ public class OrderInvoice {
/**
* 创建者id
*/
@Column(name = "crt_user")
@Column(name = "user_id")
private Integer userId;
/**
* 更新者id
*/
@Column(name = "upd_user")
private Integer updUser;
@Column(name = "user_upd")
private Integer userUpd;
/**
* 更多内容
......
......@@ -2,6 +2,6 @@
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd" >
<mapper namespace="com.xxfc.platform.order.mapper.OrderInvoiceMapper" >
<select id="selectByUserIdAndOrderId" parameterType="com.xxfc.platform.order.entity.OrderInvoice" resultType="com.xxfc.platform.order.entity.OrderInvoice">
select * from order_e_invoice where crt_user = #{userId} and order_ids like concat("%", #{orderIds}, "%")
select * from order_e_invoice where user_id = #{userId} and order_ids like concat("%", #{orderIds}, "%")
</select>
</mapper>
\ No newline at end of file
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