提交 0b3d595f authored 作者: liruixin's avatar liruixin

AllArgsConstructor

上级 f119a6a7
...@@ -11,8 +11,8 @@ import com.msl.common.base.PageData; ...@@ -11,8 +11,8 @@ import com.msl.common.base.PageData;
import com.msl.common.result.Result; import com.msl.common.result.Result;
import io.swagger.annotations.Api; import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation; import io.swagger.annotations.ApiOperation;
import lombok.AllArgsConstructor;
import lombok.extern.slf4j.Slf4j; import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.validation.annotation.Validated; import org.springframework.validation.annotation.Validated;
import org.springframework.web.bind.annotation.PostMapping; import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody; import org.springframework.web.bind.annotation.RequestBody;
...@@ -27,13 +27,12 @@ import javax.validation.constraints.NotBlank; ...@@ -27,13 +27,12 @@ import javax.validation.constraints.NotBlank;
@RequestMapping(value="/pc/carrier/poundAudit") @RequestMapping(value="/pc/carrier/poundAudit")
@Validated @Validated
@Api(tags = "承运端-磅单审核") @Api(tags = "承运端-磅单审核")
@AllArgsConstructor
public class OrderChildPoundAuditController { public class OrderChildPoundAuditController {
@Autowired private final OrderChildService orderChildService;
OrderChildService orderChildService;
@Autowired private final OrderChildPoundAuditService orderChildPoundAuditService;
OrderChildPoundAuditService orderChildPoundAuditService;
@ApiOperation(value = "磅单审核列表",notes = "<br>By:李瑞新") @ApiOperation(value = "磅单审核列表",notes = "<br>By:李瑞新")
@PostMapping("/pagePoundAuditList") @PostMapping("/pagePoundAuditList")
...@@ -53,7 +52,7 @@ public class OrderChildPoundAuditController { ...@@ -53,7 +52,7 @@ public class OrderChildPoundAuditController {
@ApiOperation(value = "磅单审核接口",notes = "<br>By:李瑞新") @ApiOperation(value = "磅单审核接口",notes = "<br>By:李瑞新")
@PostMapping("/updatePoundAudit") @PostMapping("/updatePoundAudit")
public Result updatePoundAudit(@RequestBody @Validated PoundAuditParam param) { public Result updatePoundAudit(@RequestBody @Validated PoundAuditParam param) {
orderChildPoundAuditService.updatePoundAudit(param); //orderChildPoundAuditService.updatePoundAudit(param);
return Result.ok(); return Result.ok();
} }
} }
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论