Commit fda11616 by 杨卫

feat:效果分析自测

1 parent 0cb04c14
......@@ -22,7 +22,7 @@ public class MerchantListOperatorDTO implements Serializable {
@NotEmpty(message = "商户号不能为空")
private List<String> storeNos;
/** bi侧业务类型,1.延保 2.轻改 3.权益,不传为全业务
/** bi侧业务类型,1.延保 2.轻改 3.权益
* @see cn.com.glsx.dj.peanalysis.enums.BusinessTypeEnum
*/
private String businessType;
......
......@@ -22,17 +22,17 @@ public class StrategyOrderStatisticsRespDTO implements Serializable {
/**
* 主订单数
*/
private Integer orderCount;
private Integer orderCount = 0;
/**
* 订单总金额
*/
private BigDecimal totalPrice;
private BigDecimal totalPrice = BigDecimal.ZERO;
/**
* 折扣金额
*/
private BigDecimal discountPrice;
private BigDecimal discountPrice = BigDecimal.ZERO;
}
......@@ -235,7 +235,7 @@
inner join dj_car_life_goods_sub_order t2 on t1.order_code = t2.order_code
where t1.deleted_flag = 'N' and t2.deleted_flag = 'N' and t1.status = '4'
<if test="djOrderTypes != null and djOrderTypes.size() > 0">
t1.dj_order_type in
and t1.dj_order_type in
<foreach collection="djOrderTypes" item="item" open="(" close=")" separator=",">
#{item}
</foreach>
......@@ -246,7 +246,7 @@
<choose>
<when test="'1'.toString().equals(businessType)">
and ((t2.upgrade_goods_type = #{goodsTypeExtendedInsurance}) or
(t2.supplier_code = #{supplierThirdPartyCode} and t2.upgrade_goods_type = #{goodsTypeEquityType}))
(t2.supplier_code = #{supplierThirdPartyId} and t2.upgrade_goods_type = #{goodsTypeEquityType}))
</when>
<when test="'3'.toString().equals(status)">
and ((t2.supplier_code = #{supplierGlzyId} and t2.upgrade_goods_type = #{goodsTypeEquityType}))
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!