dongdingding
吴顺杰 1 year ago
parent 6c95d51ff8
commit a6280fad52

@ -126,6 +126,13 @@ public class BActivityPoints extends BaseEntity {
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
private Date timeOfIssuance; private Date timeOfIssuance;
/**
*
*/
@Excel(name = "收货人名称")
private String consigneeName;
/** /**
* *
*/ */

@ -8,6 +8,7 @@
<result property="id" column="id"/> <result property="id" column="id"/>
<result property="uId" column="u_id"/> <result property="uId" column="u_id"/>
<result property="userName" column="user_name"/> <result property="userName" column="user_name"/>
<result property="consigneeName" column="consignee_name"/>
<result property="phonenumber" column="phonenumber"/> <result property="phonenumber" column="phonenumber"/>
<result property="courierCompanies" column="courier_companies"/> <result property="courierCompanies" column="courier_companies"/>
<result property="trackingNumber" column="tracking_number"/> <result property="trackingNumber" column="tracking_number"/>
@ -105,7 +106,8 @@
<select id="selectBActivityPointsById" parameterType="Long" resultMap="BActivityPointsResult"> <select id="selectBActivityPointsById" parameterType="Long" resultMap="BActivityPointsResult">
select bap.id, select bap.id,
bap.u_id, bap.u_id,
su.consignee_name as user_name, su.consignee_name,
(select nick_name from sys_user where user_id = bap.u_id) as user_name,
su.consignee_phonenumber as phonenumber, su.consignee_phonenumber as phonenumber,
bdr.courier_companies, bdr.courier_companies,
bdr.tracking_number, bdr.tracking_number,

Loading…
Cancel
Save