md
This commit is contained in:
parent
8621bf5ad0
commit
14b432df2e
@ -39,7 +39,7 @@ public interface IEmisCommissionProfitService
|
|||||||
* @param billCode
|
* @param billCode
|
||||||
* @return
|
* @return
|
||||||
*/
|
*/
|
||||||
public int reCalcProfitByBillCode(String billCode);
|
public void reCalcProfitByBillCode(String billCode);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 查询员工提成表列表
|
* 查询员工提成表列表
|
||||||
|
|||||||
@ -89,10 +89,9 @@ public class EmisCommissionProfitServiceImpl extends EmisBaseService implements
|
|||||||
/**
|
/**
|
||||||
* 根据单号重新计算提成
|
* 根据单号重新计算提成
|
||||||
*/
|
*/
|
||||||
@Async
|
|
||||||
@Override
|
@Override
|
||||||
@Transactional
|
@Transactional
|
||||||
public int reCalcProfitByBillCode(String billCode)
|
public void reCalcProfitByBillCode(String billCode)
|
||||||
{
|
{
|
||||||
|
|
||||||
String lockKey="reCalcProfitByBillCode"+billCode;
|
String lockKey="reCalcProfitByBillCode"+billCode;
|
||||||
@ -164,9 +163,6 @@ public class EmisCommissionProfitServiceImpl extends EmisBaseService implements
|
|||||||
redissonService.unlock(lockKey);
|
redissonService.unlock(lockKey);
|
||||||
log.error("reCalcProfitByBillCode end:"+billCode);
|
log.error("reCalcProfitByBillCode end:"+billCode);
|
||||||
|
|
||||||
|
|
||||||
return 1;
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
private int reCalcEmpProfitSumMoney(String empName,String billMonth){
|
private int reCalcEmpProfitSumMoney(String empName,String billMonth){
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user