diff --git a/fuintBackend/fuint-application/src/main/java/com/fuint/business/marketingActivity/activePrice/mapper/xml/ActivePriceMapper.xml b/fuintBackend/fuint-application/src/main/java/com/fuint/business/marketingActivity/activePrice/mapper/xml/ActivePriceMapper.xml index 0f99abc39..79e29e4b0 100644 --- a/fuintBackend/fuint-application/src/main/java/com/fuint/business/marketingActivity/activePrice/mapper/xml/ActivePriceMapper.xml +++ b/fuintBackend/fuint-application/src/main/java/com/fuint/business/marketingActivity/activePrice/mapper/xml/ActivePriceMapper.xml @@ -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 AND main.chain_stor_id = #{entity.chainStorId} diff --git a/fuintBackend/fuint-application/src/main/java/com/fuint/business/marketingActivity/activePrice/vo/ActivePriceRespVO.java b/fuintBackend/fuint-application/src/main/java/com/fuint/business/marketingActivity/activePrice/vo/ActivePriceRespVO.java index 94f9e0854..25ac788b0 100644 --- a/fuintBackend/fuint-application/src/main/java/com/fuint/business/marketingActivity/activePrice/vo/ActivePriceRespVO.java +++ b/fuintBackend/fuint-application/src/main/java/com/fuint/business/marketingActivity/activePrice/vo/ActivePriceRespVO.java @@ -19,4 +19,8 @@ public class ActivePriceRespVO extends ActivePrice { private Integer countCom; /**价格营销活动适用油品油号*/ private List oilList; + /** + * 创建人 + */ + private String createName; }