技师推荐码
This commit is contained in:
parent
e68b0de455
commit
da5f15f949
|
@ -221,6 +221,12 @@ public class Artificer implements Serializable {
|
|||
@TableField(exist = false)
|
||||
private String consortiaName;
|
||||
|
||||
/**
|
||||
* 推荐码
|
||||
*/
|
||||
@TableField(exist = false)
|
||||
private String invitationCode;
|
||||
|
||||
/**
|
||||
* 是否新人 1是 2否
|
||||
*/
|
||||
|
|
|
@ -79,7 +79,7 @@
|
|||
</select>
|
||||
|
||||
<select id="selectArtificerById" resultType="com.sqx.modules.artificer.entity.Artificer">
|
||||
select a.*,u.phone,u.status as artificerStatus,u.consortia_id as consortiaId,c.consortia_name,
|
||||
select a.*,u.phone,u.status as artificerStatus,u.consortia_id as consortiaId,c.consortia_name,u.invitation_code,
|
||||
(select count(*) from orders o where o.artificer_id = a.artificer_id and o.status in (3,5)) as ordersCount,
|
||||
(select code from sys_dict o where o.id = a.classify_id) as classifyName,
|
||||
(select count(*) from collect_artificer o where o.artificer_id = a.artificer_id and classify = 1) as collectCount,
|
||||
|
|
Loading…
Reference in New Issue