demand: 财务中心费用审核无法看到驳回原因bug修复,中心运单查询无法根据多个寄件网点查询bug修复 运单补打印部分模板没有取始发网点bug修复
committer: heyu
This commit is contained in:
parent
adeaa184fc
commit
6b261c1c49
@ -59,6 +59,8 @@ public class EmisCommissionQuote extends BaseEntity
|
||||
private String feeType;
|
||||
/* 计算类型 票,重量 emis_commission_type */
|
||||
private String calcType;
|
||||
/* 重量计算方式,1:按照结算重量计算计提,2:按照实际重量计算计提 */
|
||||
private String calcWeightType;
|
||||
/* 岗位类型:emis_commission_post */
|
||||
private String postType;
|
||||
/* 快递类型:emis_biz_shipping_method */
|
||||
|
||||
@ -543,8 +543,8 @@ public class EmisCommissionProfitServiceImpl extends EmisBaseService implements
|
||||
}
|
||||
// 重量计算
|
||||
else if ("2".equals(quoteItem.getCalcType())) {
|
||||
String transType = waybill.getTransType();
|
||||
BigDecimal usedWeight = ("1".equals(transType) || "2".equals(transType))
|
||||
String calcWeightType = quoteItem.getCalcWeightType();
|
||||
BigDecimal usedWeight = ("1".equals(calcWeightType))
|
||||
? waybill.getSettlementWeight()
|
||||
: waybill.getBillWeight();
|
||||
if (isValueInExprScope(usedWeight != null ? usedWeight.doubleValue() : 0.0, exprItem)) {
|
||||
@ -682,8 +682,8 @@ public class EmisCommissionProfitServiceImpl extends EmisBaseService implements
|
||||
}
|
||||
// 重量计算
|
||||
else if ("2".equals(quoteItem.getCalcType())) {
|
||||
String transType = waybill.getTransType();
|
||||
BigDecimal usedWeight = ("1".equals(transType) || "2".equals(transType))
|
||||
String calcWeightType = quoteItem.getCalcWeightType();
|
||||
BigDecimal usedWeight = ("1".equals(calcWeightType))
|
||||
? waybill.getSettlementWeight()
|
||||
: waybill.getBillWeight();
|
||||
if (isValueInExprScope(usedWeight != null ? usedWeight.doubleValue() : 0.0, exprItem)) {
|
||||
@ -830,8 +830,8 @@ public class EmisCommissionProfitServiceImpl extends EmisBaseService implements
|
||||
}
|
||||
// 重量计算-结算重量
|
||||
else if ("2".equals(quoteItem.getCalcType())) {
|
||||
String transType = waybill.getTransType();
|
||||
BigDecimal usedWeight = ("1".equals(transType) || "2".equals(transType))
|
||||
String calcWeightType = quoteItem.getCalcWeightType();
|
||||
BigDecimal usedWeight = ("1".equals(calcWeightType))
|
||||
? waybill.getSettlementWeight()
|
||||
: waybill.getBillWeight();
|
||||
if (isValueInExprScope(usedWeight != null ? usedWeight.doubleValue() : 0.0, exprItem)) {
|
||||
@ -986,8 +986,8 @@ public class EmisCommissionProfitServiceImpl extends EmisBaseService implements
|
||||
}
|
||||
// 重量计算
|
||||
else if ("2".equals(quoteItem.getCalcType())) {
|
||||
String transType = waybill.getTransType();
|
||||
BigDecimal usedWeight = ("1".equals(transType) || "2".equals(transType))
|
||||
String calcWeightType = quoteItem.getCalcWeightType();
|
||||
BigDecimal usedWeight = ("1".equals(calcWeightType))
|
||||
? waybill.getSettlementWeight()
|
||||
: waybill.getBillWeight();
|
||||
if (isValueInExprScope(usedWeight != null ? usedWeight.doubleValue() : 0.0, exprItem)) {
|
||||
@ -1136,8 +1136,8 @@ public class EmisCommissionProfitServiceImpl extends EmisBaseService implements
|
||||
}
|
||||
// 重量计算
|
||||
else if ("2".equals(quoteItem.getCalcType())) {
|
||||
String transType = waybill.getTransType();
|
||||
BigDecimal usedWeight = ("1".equals(transType) || "2".equals(transType))
|
||||
String calcWeightType = quoteItem.getCalcWeightType();
|
||||
BigDecimal usedWeight = ("1".equals(calcWeightType))
|
||||
? waybill.getSettlementWeight()
|
||||
: waybill.getBillWeight();
|
||||
if (isValueInExprScope(usedWeight != null ? usedWeight.doubleValue() : 0.0, exprItem)) {
|
||||
@ -1283,8 +1283,8 @@ public class EmisCommissionProfitServiceImpl extends EmisBaseService implements
|
||||
}
|
||||
// 重量计算
|
||||
else if ("2".equals(quoteItem.getCalcType())) {
|
||||
String transType = waybill.getTransType();
|
||||
BigDecimal usedWeight = ("1".equals(transType) || "2".equals(transType))
|
||||
String calcWeightType = quoteItem.getCalcWeightType();
|
||||
BigDecimal usedWeight = ("1".equals(calcWeightType))
|
||||
? waybill.getSettlementWeight()
|
||||
: waybill.getBillWeight();
|
||||
if (isValueInExprScope(usedWeight != null ? usedWeight.doubleValue() : 0.0, exprItem)) {
|
||||
@ -1448,8 +1448,8 @@ public class EmisCommissionProfitServiceImpl extends EmisBaseService implements
|
||||
}
|
||||
// 重量计算
|
||||
else if ("2".equals(quoteItem.getCalcType())) {
|
||||
String transType = waybill.getTransType();
|
||||
BigDecimal usedWeight = ("1".equals(transType) || "2".equals(transType))
|
||||
String calcWeightType = quoteItem.getCalcWeightType();
|
||||
BigDecimal usedWeight = ("1".equals(calcWeightType))
|
||||
? waybill.getSettlementWeight()
|
||||
: waybill.getBillWeight();
|
||||
calcExprStr = calcExp
|
||||
|
||||
@ -16,6 +16,7 @@
|
||||
<result property="country" column="country" />
|
||||
<result property="feeType" column="fee_type" />
|
||||
<result property="calcType" column="calc_type" />
|
||||
<result property="calcWeightType" column="calc_weight_type" />
|
||||
<result property="postType" column="post_type" />
|
||||
<result property="transType" column="trans_type" />
|
||||
<result property="blOpen" column="bl_open" />
|
||||
@ -37,7 +38,7 @@
|
||||
</resultMap>
|
||||
|
||||
<sql id="selectEmisCommissionQuoteVo">
|
||||
select quote_id, quote_code, quote_name, trans_line_code, send_site_code, next_site_code, prod_code, from_country, country, fee_type, calc_type, post_type, trans_type, bl_open, emp_code, emp_name, start_date, end_date, priority_level, remark, tenant_id, del_flag, create_by, create_time, update_by, update_time, create_site, update_site from emis_commission_quote
|
||||
select quote_id, quote_code, quote_name, trans_line_code, send_site_code, next_site_code, prod_code, from_country, country, fee_type, calc_type, calc_weight_type, post_type, trans_type, bl_open, emp_code, emp_name, start_date, end_date, priority_level, remark, tenant_id, del_flag, create_by, create_time, update_by, update_time, create_site, update_site from emis_commission_quote
|
||||
</sql>
|
||||
|
||||
<select id="selectEmisCommissionQuoteList" parameterType="EmisCommissionQuote" resultMap="EmisCommissionQuoteResult">
|
||||
@ -56,6 +57,7 @@
|
||||
|
||||
<if test="feeType != null and feeType != ''"> and fee_type=#{feeType}</if>
|
||||
<if test="calcType != null and calcType != ''"> and calc_type=#{calcType}</if>
|
||||
<if test="calcWeightType != null and calcWeightType != ''"> and calc_weight_type=#{calcWeightType}</if>
|
||||
<if test="postType != null and postType != ''"> and post_type=#{postType}</if>
|
||||
<if test="transType != null and transType != ''"> and ( FIND_IN_SET(#{transType},trans_type) )</if>
|
||||
<if test="blOpen != null and blOpen != ''"> and bl_open=#{blOpen}</if>
|
||||
@ -94,6 +96,7 @@
|
||||
|
||||
<if test="feeType != null and feeType != ''"> and fee_type=#{feeType}</if>
|
||||
<if test="calcType != null and calcType != ''"> and calc_type=#{calcType}</if>
|
||||
<if test="calcWeightType != null and calcWeightType != ''"> and calc_weight_type=#{calcWeightType}</if>
|
||||
<if test="postType != null and postType != ''"> and post_type=#{postType}</if>
|
||||
<if test="transType != null and transType != ''"> and ( FIND_IN_SET(#{transType},trans_type) or trans_type='-1') </if>
|
||||
<if test="blOpen != null and blOpen != ''"> and bl_open=#{blOpen}</if>
|
||||
@ -119,6 +122,7 @@
|
||||
and country = #{country}
|
||||
and fee_type = #{feeType}
|
||||
and calc_type = #{calcType}
|
||||
and calc_weight_type = #{calcWeightType}
|
||||
and post_type = #{postType}
|
||||
and trans_type = #{transType}
|
||||
and bl_open = #{blOpen}
|
||||
@ -140,7 +144,7 @@
|
||||
</select>
|
||||
|
||||
<select id="selectEmisCommissionQuoteByQuoteId" parameterType="Long" resultMap="EmisCommissionQuoteResult">
|
||||
select quote_id, quote_code, quote_name, trans_line_code, send_site_code, next_site_code, prod_code, from_country, country, fee_type, calc_type, post_type, trans_type, bl_open, emp_code, emp_name, start_date, end_date, priority_level, remark, tenant_id, del_flag, create_by, create_time, update_by, update_time, create_site, update_site
|
||||
select quote_id, quote_code, quote_name, trans_line_code, send_site_code, next_site_code, prod_code, from_country, country, fee_type, calc_type, calc_weight_type, post_type, trans_type, bl_open, emp_code, emp_name, start_date, end_date, priority_level, remark, tenant_id, del_flag, create_by, create_time, update_by, update_time, create_site, update_site
|
||||
from emis_commission_quote a
|
||||
where a.quote_id = #{quoteId}
|
||||
</select>
|
||||
@ -159,6 +163,7 @@
|
||||
<if test="country != null and country != ''">country,</if>
|
||||
<if test="feeType != null and feeType != ''">fee_type,</if>
|
||||
<if test="calcType != null and calcType != ''">calc_type,</if>
|
||||
<if test="calcWeightType != null and calcWeightType != ''">calc_weight_type,</if>
|
||||
<if test="postType != null and postType != ''">post_type,</if>
|
||||
<if test="transType != null and transType != ''">trans_type,</if>
|
||||
<if test="blOpen != null and blOpen != ''">bl_open,</if>
|
||||
@ -189,6 +194,7 @@
|
||||
<if test="country != null and country != ''">#{country},</if>
|
||||
<if test="feeType != null and feeType != ''">#{feeType},</if>
|
||||
<if test="calcType != null and calcType != ''">#{calcType},</if>
|
||||
<if test="calcWeightType != null and calcWeightType != ''">#{calcWeightType},</if>
|
||||
<if test="postType != null and postType != ''">#{postType},</if>
|
||||
<if test="transType != null and transType != ''">#{transType},</if>
|
||||
<if test="blOpen != null and blOpen != ''">#{blOpen},</if>
|
||||
@ -224,6 +230,7 @@
|
||||
|
||||
<if test="feeType != null and feeType != ''">fee_type = #{feeType},</if>
|
||||
<if test="calcType != null and calcType != ''">calc_type = #{calcType},</if>
|
||||
<if test="calcWeightType != null and calcWeightType != ''">calc_weight_type = #{calcWeightType},</if>
|
||||
<if test="postType != null and postType != ''">post_type = #{postType},</if>
|
||||
<if test="transType != null and transType != ''">trans_type = #{transType},</if>
|
||||
<if test="blOpen != null and blOpen != ''">bl_open = #{blOpen},</if>
|
||||
@ -281,6 +288,7 @@
|
||||
and fee_type=#{feeType}
|
||||
and bl_open=#{blOpen}
|
||||
and calc_type=#{calcType}
|
||||
and calc_weight_type=#{calcWeightType}
|
||||
and post_type=#{postType}
|
||||
and (
|
||||
trans_type = #{transType}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user