完成部分TODO修改bug
This commit is contained in:
@@ -11,6 +11,7 @@ import com.cool.store.response.FitmentResponse;
|
||||
import com.cool.store.response.ResponseResult;
|
||||
import com.cool.store.response.ThreeSignResponse;
|
||||
import com.cool.store.service.DecorationService;
|
||||
import com.cool.store.service.PreparationService;
|
||||
import com.cool.store.vo.Fitment.DecorationModelVO;
|
||||
import com.cool.store.vo.Fitment.DesignInfoVo;
|
||||
import com.cool.store.vo.LinePayVO;
|
||||
@@ -39,10 +40,12 @@ import java.util.List;
|
||||
public class PCDecorationController {
|
||||
@Resource
|
||||
private DecorationService decorationService;
|
||||
@ApiOperation("获取新店装修子阶段信息")
|
||||
@GetMapping("/getFitmentSub")
|
||||
public ResponseResult<FitmentResponse> getFitmentSub(@RequestParam Long shopId) {
|
||||
return ResponseResult.success(decorationService.getFitmentSub(shopId));
|
||||
@Resource
|
||||
private PreparationService preparationService;
|
||||
@ApiOperation("获取新店装修flush")
|
||||
@GetMapping("/flush")
|
||||
public ResponseResult<Boolean> getFitmentSub(@RequestParam Long shopId) {
|
||||
return ResponseResult.success(preparationService.decorationFlush(shopId));
|
||||
}
|
||||
@ApiOperation("获取设计子阶段信息")
|
||||
@GetMapping("/designSub")
|
||||
|
||||
@@ -42,11 +42,6 @@ public class MiniDecorationController {
|
||||
private DecorationService decorationService;
|
||||
@Resource
|
||||
private AssessmentTemplateService assessmentTemplateService;
|
||||
@ApiOperation("获取新店装修下阶段的数据/flush")
|
||||
@GetMapping("/getFitmentSub")
|
||||
public ResponseResult<FitmentResponse> getFitmentSub(@RequestParam Long shopId) {
|
||||
return ResponseResult.success(decorationService.getFitmentSub(shopId));
|
||||
}
|
||||
@ApiOperation("获取设计阶段子阶段信息")
|
||||
@GetMapping("/designSub")
|
||||
public ResponseResult<DesignInfoVo> getDesign(@RequestParam Long shopId){
|
||||
|
||||
@@ -212,7 +212,6 @@ public class XxlJobHandler {
|
||||
LocalDate localDate = instant.atZone(zone).toLocalDate();
|
||||
LocalDate datePlusFiveDays = localDate.plusDays(CommonConstants.FOUR); // 添加5天
|
||||
LocalDate now = LocalDate.now();
|
||||
//TODO 时间问题
|
||||
if (datePlusFiveDays.equals(now)) {
|
||||
shopStageInfoDAO.updateShopStageInfo(shopId, ShopSubStageStatusEnum.SHOP_SUB_STAGE_STATUS_120);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user