|
|
@ -9,13 +9,11 @@ import com.hai.common.security.SessionObject; |
|
|
|
import com.hai.common.security.UserCenter; |
|
|
|
import com.hai.common.security.UserCenter; |
|
|
|
import com.hai.common.utils.DateUtil; |
|
|
|
import com.hai.common.utils.DateUtil; |
|
|
|
import com.hai.common.utils.ResponseMsgUtil; |
|
|
|
import com.hai.common.utils.ResponseMsgUtil; |
|
|
|
import com.hai.entity.HighCoupon; |
|
|
|
import com.hai.entity.*; |
|
|
|
import com.hai.entity.HighCouponHandsel; |
|
|
|
|
|
|
|
import com.hai.entity.HighGoodsPriceRefer; |
|
|
|
|
|
|
|
import com.hai.entity.HighMerchant; |
|
|
|
|
|
|
|
import com.hai.model.HighCouponModel; |
|
|
|
import com.hai.model.HighCouponModel; |
|
|
|
import com.hai.model.ResponseData; |
|
|
|
import com.hai.model.ResponseData; |
|
|
|
import com.hai.model.UserInfoModel; |
|
|
|
import com.hai.model.UserInfoModel; |
|
|
|
|
|
|
|
import com.hai.service.HighApproveService; |
|
|
|
import com.hai.service.HighCouponService; |
|
|
|
import com.hai.service.HighCouponService; |
|
|
|
import com.hai.service.HighGoodsPriceReferService; |
|
|
|
import com.hai.service.HighGoodsPriceReferService; |
|
|
|
import io.swagger.annotations.Api; |
|
|
|
import io.swagger.annotations.Api; |
|
|
@ -51,6 +49,9 @@ public class HighGoodsPriceReferController { |
|
|
|
@Resource |
|
|
|
@Resource |
|
|
|
private HighGoodsPriceReferService highGoodsPriceReferService; |
|
|
|
private HighGoodsPriceReferService highGoodsPriceReferService; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@Resource |
|
|
|
|
|
|
|
private HighApproveService highApproveService; |
|
|
|
|
|
|
|
|
|
|
|
@Resource |
|
|
|
@Resource |
|
|
|
private HighCouponService highCouponService; |
|
|
|
private HighCouponService highCouponService; |
|
|
|
|
|
|
|
|
|
|
@ -106,7 +107,8 @@ public class HighGoodsPriceReferController { |
|
|
|
highGoodsPriceRefer.setStatus(101); // 状态: 0:删除 1:待编辑 2:待生效 3:已生效 4:已失效 101.审批中 102.审批驳回
|
|
|
|
highGoodsPriceRefer.setStatus(101); // 状态: 0:删除 1:待编辑 2:待生效 3:已生效 4:已失效 101.审批中 102.审批驳回
|
|
|
|
highGoodsPriceRefer.setOperatorId(userInfoModel.getSecUser().getId()); |
|
|
|
highGoodsPriceRefer.setOperatorId(userInfoModel.getSecUser().getId()); |
|
|
|
highGoodsPriceRefer.setOperatorName(userInfoModel.getSecUser().getUserName()); |
|
|
|
highGoodsPriceRefer.setOperatorName(userInfoModel.getSecUser().getUserName()); |
|
|
|
highGoodsPriceReferService.insertPriceRefer(highGoodsPriceRefer); |
|
|
|
// highApproveService.insertApprove();
|
|
|
|
|
|
|
|
highGoodsPriceReferService.submitApprove(highGoodsPriceRefer); |
|
|
|
|
|
|
|
|
|
|
|
return ResponseMsgUtil.success("操作成功"); |
|
|
|
return ResponseMsgUtil.success("操作成功"); |
|
|
|
|
|
|
|
|
|
|
|