...
|
...
|
@@ -365,7 +365,7 @@ public class CutDownPriceServiceImpl implements ICutDownPriceService { |
|
|
}
|
|
|
|
|
|
@Override
|
|
|
public int addCutPriceRecord(CutPriceHelpUserRequestBO cutPriceHelpUserRequestBO) {
|
|
|
public BigDecimal addCutPriceRecord(CutPriceHelpUserRequestBO cutPriceHelpUserRequestBO) {
|
|
|
Integer activityId = cutPriceHelpUserRequestBO.getActivityId();
|
|
|
Integer productSkn = cutPriceHelpUserRequestBO.getProductSkn();
|
|
|
Integer userId = cutPriceHelpUserRequestBO.getUserId();
|
...
|
...
|
@@ -392,14 +392,15 @@ public class CutDownPriceServiceImpl implements ICutDownPriceService { |
|
|
logger.info(" addCutDownUserRecord, userId is {}, activityId is {}, productSkn is {}", userId, activityId, productSkn);
|
|
|
int num = cutDownPriceUserRecordMapper.addCutDownUserRecord(record);
|
|
|
// 系统帮助砍第一次价
|
|
|
BigDecimal cutPrice = new BigDecimal(0);
|
|
|
try{
|
|
|
logger.info(" system start addHelpUserInfo, userId is {}, activityId is {}, productSkn is {}", userId, activityId, productSkn);
|
|
|
addHelpUserInfo(convertCutDownPriceProductSystemHelpUser(cutPriceHelpUserRequestBO));
|
|
|
cutPrice = addHelpUserInfo(convertCutDownPriceProductSystemHelpUser(cutPriceHelpUserRequestBO));
|
|
|
}catch(Exception e){
|
|
|
logger.warn(" system addHelpUserInfo failed, userId is {}, activityId is {}, productSkn is {}, exception is {}", userId, activityId, productSkn, e);
|
|
|
}
|
|
|
|
|
|
return num;
|
|
|
return cutPrice;
|
|
|
}
|
|
|
|
|
|
private void checkValidActivity(CutDownPriceActivityBo activityBo, Integer activityId) {
|
...
|
...
|
|