记得上下班打卡 | git大法好,push需谨慎

Commit d4cacfc9 authored by zhoujianping's avatar zhoujianping

Merge branch 'zjp_20241105_daili' into jxl_20240313_prod

parents 6b08a2be ef927711
...@@ -55,9 +55,12 @@ ...@@ -55,9 +55,12 @@
<td th:text="${item.title}"></td> <td th:text="${item.title}"></td>
</div> </div>
<td>总销售张数</td> <td>总销售张数</td>
<td>总销售金额</td> <td>票面票房金额</td>
<td>实际销售金额</td> <td>总支付金额</td>
<td>快递费总金额</td>
<td>优惠券金额</td> <td>优惠券金额</td>
<td>实际销售金额</td>
<td>佣金比例</td>
<td>总销售佣金</td> <td>总销售佣金</td>
<td>打款状态</td> <td>打款状态</td>
<td>是否黑名单</td> <td>是否黑名单</td>
...@@ -77,9 +80,12 @@ ...@@ -77,9 +80,12 @@
<td th:text="${item.agentName}"></td> <td th:text="${item.agentName}"></td>
<td th:each="itemAgent : ${item.dataAgentVos}" th:text="${itemAgent.number}"></td> <td th:each="itemAgent : ${item.dataAgentVos}" th:text="${itemAgent.number}"></td>
<td th:text="${#aggregates.sum(item.dataAgentVos.![number])}"></td> <td th:text="${#aggregates.sum(item.dataAgentVos.![number])}"></td>
<td th:text="${#aggregates.sum(item.dataAgentVos.![faceTotalPrice])}"></td>
<td th:text="${#aggregates.sum(item.dataAgentVos.![priceReal])}"></td> <td th:text="${#aggregates.sum(item.dataAgentVos.![priceReal])}"></td>
<td th:text="${#aggregates.sum(item.dataAgentVos.![realTotalPrice])}"></td> <td th:text="${#aggregates.sum(item.dataAgentVos.![totalPriceExpress])}"></td>
<td th:text="${#aggregates.sum(item.dataAgentVos.![voucherPrice])}"></td> <td th:text="${#aggregates.sum(item.dataAgentVos.![voucherPrice])}"></td>
<td th:text="${#aggregates.sum(item.dataAgentVos.![realTotalPrice])}"></td>
<td th:text="${item.agentDistributions}"></td>
<td th:text="${item.totalCommission}"></td> <td th:text="${item.totalCommission}"></td>
<td th:if="${item.priceStatus!=0}" th:text="待打款"></td> <td th:if="${item.priceStatus!=0}" th:text="待打款"></td>
<td th:if="${item.priceStatus==0}" th:text="已打款"></td> <td th:if="${item.priceStatus==0}" th:text="已打款"></td>
......
...@@ -45,4 +45,8 @@ public class ShowAgentVo { ...@@ -45,4 +45,8 @@ public class ShowAgentVo {
*/ */
@ApiModelProperty(value = "普代票提", example = "") @ApiModelProperty(value = "普代票提", example = "")
private BigDecimal ordCarry; private BigDecimal ordCarry;
@ApiModelProperty(value = "票种单价", example = "")
private BigDecimal price;
} }
...@@ -77,7 +77,8 @@ public class UserData implements Serializable, Cloneable { ...@@ -77,7 +77,8 @@ public class UserData implements Serializable, Cloneable {
@ApiModelProperty(value = "总佣金") @ApiModelProperty(value = "总佣金")
private BigDecimal totalCommission; private BigDecimal totalCommission;
@ApiModelProperty(value = "票提", example = "")
private BigDecimal agentDistributions;
private static final UserData obj = new UserData(); private static final UserData obj = new UserData();
......
...@@ -67,6 +67,26 @@ public class UserDataAgentVo implements Serializable, Cloneable{ ...@@ -67,6 +67,26 @@ public class UserDataAgentVo implements Serializable, Cloneable{
@ApiModelProperty(value = "优惠券金额", example = "") @ApiModelProperty(value = "优惠券金额", example = "")
private BigDecimal voucherPrice; private BigDecimal voucherPrice;
/**
* 票面金额
*/
@ApiModelProperty(value = "票面金额", example = "")
private BigDecimal faceTotalPrice;
/**
* 快递费总金额
*/
@ApiModelProperty(value = "快递费总金额", example = "")
private BigDecimal totalPriceExpress;
/**
* 票提
*/
@ApiModelProperty(value = "票提", example = "")
private BigDecimal agentDistributions;
private static final UserDataAgentVo obj = new UserDataAgentVo(); private static final UserDataAgentVo obj = new UserDataAgentVo();
public static UserDataAgentVo getNew() { public static UserDataAgentVo getNew() {
......
...@@ -89,6 +89,21 @@ public class ShowBaseVoDto implements Serializable, Cloneable{ ...@@ -89,6 +89,21 @@ public class ShowBaseVoDto implements Serializable, Cloneable{
*/ */
private BigDecimal voucherPrice; private BigDecimal voucherPrice;
/**
* 票面金额
*/
private BigDecimal faceTotalPrice;
/**
* 快递费总金额
*/
private BigDecimal totalPriceExpress;
/**
* 佣金比例
*/
private BigDecimal agentDistributions;
private static final ShowBaseVoDto obj = new ShowBaseVoDto(); private static final ShowBaseVoDto obj = new ShowBaseVoDto();
public static ShowBaseVoDto getNew() { public static ShowBaseVoDto getNew() {
......
...@@ -88,7 +88,10 @@ ...@@ -88,7 +88,10 @@
SUM( kot.number ) number, SUM( kot.number ) number,
SUM( (kot.price_actual - kot.price_express) * sukotr.agent_distributions ) totalPrice, SUM( (kot.price_actual - kot.price_express) * sukotr.agent_distributions ) totalPrice,
SUM( (kot.price_actual - kot.price_express) ) realTotalPrice, SUM( (kot.price_actual - kot.price_express) ) realTotalPrice,
SUM( kot.price_voucher ) voucherPrice SUM( kot.price_voucher ) voucherPrice,
SUM( kot.price_express ) totalPriceExpress,
SUM( kot.price_total - kot.price_express ) faceTotalPrice,
MAX(sukotr.agent_distributions ) agentDistributions
FROM FROM
kylin_order_tickets AS kot kylin_order_tickets AS kot
INNER JOIN ( INNER JOIN (
...@@ -129,6 +132,13 @@ ...@@ -129,6 +132,13 @@
GROUP BY GROUP BY
sukotr.uid, sukotr.uid,
sukotr.ticket_id sukotr.ticket_id
ORDER BY
CASE sukotr.type
WHEN 2 THEN 1
WHEN 1 THEN 2
WHEN 5 THEN 3
ELSE 4
END
</select> </select>
<update id="upTakeByPerId"> <update id="upTakeByPerId">
......
...@@ -186,7 +186,7 @@ ...@@ -186,7 +186,7 @@
FROM kylin_order_ticket_relations AS kotr FROM kylin_order_ticket_relations AS kotr
INNER JOIN kylin_order_ticket_status AS kots ON kots.order_id = kotr.order_id INNER JOIN kylin_order_ticket_status AS kots ON kots.order_id = kotr.order_id
WHERE kotr.performance_id = #{performancesId} WHERE kotr.performance_id = #{performancesId}
AND kotr.agent_id != 0 AND kots.status IN (1,6,3)) kk ON su.uid = kk.agent_id_master AND kotr.agent_id != 0 AND kots.status IN (1)) kk ON su.uid = kk.agent_id_master
GROUP BY su.uid GROUP BY su.uid
</select> </select>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment