This commit is contained in:
cun-nan 2024-09-04 14:28:00 +08:00
parent 978db708e9
commit ab4488c16f
2 changed files with 7 additions and 1 deletions

View File

@ -9,10 +9,12 @@
main.title AS title,
main.create_by AS createBy,
main.create_time AS createTime,
COUNT( apo.id ) AS countCom
COUNT( apo.id ) AS countCom,
ta.real_name createName
FROM
active_price main
LEFT JOIN active_price_oil apo ON main.id = apo.active_id
LEFT JOIN t_account ta on main.createBy = ta.acct_id
<where>
<if test="entity.chainStorId != null and entity.chainStorId != ''">
AND main.chain_stor_id = #{entity.chainStorId}

View File

@ -19,4 +19,8 @@ public class ActivePriceRespVO extends ActivePrice {
private Integer countCom;
/**价格营销活动适用油品油号*/
private List<ActivePriceOil> oilList;
/**
* 创建人
*/
private String createName;
}