Authored by LUOXC

refactor

... ... @@ -10,6 +10,11 @@ import java.math.BigDecimal;
@Data
public class TradeBills {
/**
* 支付宝线下付款(手动打款)
*/
public static final Integer PAY_TYPE_ALIPAY_OFFLINE_PAYMENT = 102;
private Integer id;
private Integer uid;
... ... @@ -19,7 +24,7 @@ public class TradeBills {
//1:买家uid; 2:卖家uid
private Integer userType;
//1:支付宝; 2:微信
//1:支付宝; 2:微信 102:支付宝线下付款(手动打款)
private Integer payType;
//1:保证金;2:货款;3:补偿款
... ...
... ... @@ -1016,7 +1016,8 @@ public class PaymentServiceImpl implements IPaymentService {
throwServiceExceptionIf(!tryLock(logTag, lockKey), 500, "流水已经处理过id=" + tradeBills.getId());
// 财务手动标注为已付款
if(ManualDealRequest.SCENE_ID_MARK_PAID == req.getSceneId()){
if(ManualDealRequest.SCENE_ID_MARK_PAID_ALIPAY_OFFLINE_PAYMENT == req.getSceneId()){
tradeBills.setPayType(TradeBills.PAY_TYPE_ALIPAY_OFFLINE_PAYMENT);
markPaid(logTag, tradeBills, lockKey);
}
// 退货款或普通用户退保证金
... ...