| | |
| | | |
| | | import com.baomidou.mybatisplus.extension.plugins.pagination.Page; |
| | | import com.chinaztt.mes.common.wrapper.QueryWrapperUtil; |
| | | import com.chinaztt.mes.plan.dto.CustomerDTO; |
| | | import com.chinaztt.mes.plan.entity.Customer; |
| | | import com.chinaztt.mes.plan.service.CustomerService; |
| | | import com.chinaztt.mes.plan.vo.CustomerVO; |
| | | import com.chinaztt.ztt.common.core.util.R; |
| | | import com.chinaztt.ztt.common.log.annotation.SysLog; |
| | | import io.swagger.annotations.Api; |
| | |
| | | /** |
| | | * 新增客户订单主表 |
| | | * |
| | | * @param customerDTO 客户订单主表 |
| | | * @param @RequestBody CustomerVO customerVO 客户订单主表 |
| | | * @return R |
| | | */ |
| | | @ApiOperation(value = "新增客户订单主表", notes = "新增客户订单主表") |
| | | @SysLog("新增客户订单主表") |
| | | @PostMapping |
| | | public R save(@RequestBody CustomerDTO customerDTO) { |
| | | return R.ok(customerService.saveDto(customerDTO)); |
| | | public R save(@RequestBody CustomerVO customerVO) { |
| | | return R.ok(customerService.saveDto(customerVO)); |
| | | } |
| | | |
| | | /** |