md
This commit is contained in:
parent
cdf61c27f2
commit
ff8f78ebcd
@ -273,12 +273,53 @@ public class EmisBaseService {
|
||||
}
|
||||
|
||||
/**
|
||||
* 重新计算使用信用额度
|
||||
* 检查是否可调整额度
|
||||
* @param oldBill
|
||||
* @param newBill
|
||||
* @throws EmisBizError
|
||||
*/
|
||||
public void checkCanUseQuotaCredit(EmisWaybill oldBill,EmisWaybill newBill) throws EmisBizError {
|
||||
// 判断调整是否超额
|
||||
if(oldBill!=null&&newBill!=null){
|
||||
|
||||
//
|
||||
// if(oldBill.getPaymentType().equals(newBill.getPaymentType())){
|
||||
//
|
||||
// }
|
||||
|
||||
//1.改变支付方式 现金改月结或月结改现金
|
||||
// String oldSettleType="";
|
||||
// String oldPaymentType = oldBill.getPaymentType();
|
||||
// if ("2".equals(oldPaymentType)
|
||||
// || "4".equals(oldPaymentType)
|
||||
// || "5".equals(oldPaymentType)
|
||||
// ) {
|
||||
// oldSettleType="2";
|
||||
// }else if ("1".equals(oldPaymentType) || "3".equals(oldPaymentType)){
|
||||
// oldSettleType="1";
|
||||
// }
|
||||
//
|
||||
// String newSettleType="";
|
||||
// if ("2".equals(oldPaymentType)
|
||||
// || "4".equals(oldPaymentType)
|
||||
// || "5".equals(oldPaymentType)
|
||||
// ) {
|
||||
// oldSettleType="2";
|
||||
// }
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* 重新计算使用信用额度
|
||||
* @param oldBill
|
||||
* @param newBill
|
||||
*/
|
||||
public void adjustUseQuotaCredit(EmisWaybill oldBill,EmisWaybill newBill) throws EmisBizError {
|
||||
|
||||
|
||||
|
||||
|
||||
// 更新旧的统计
|
||||
if(oldBill!=null) {
|
||||
String oldPaymentType = oldBill.getPaymentType();
|
||||
|
||||
Loading…
Reference in New Issue
Block a user