| | |
| | | |
| | | import cn.hutool.core.date.DateTime; |
| | | import com.mes.damage.entity.Damage; |
| | | import com.mes.damage.entity.DamagePrint; |
| | | import com.mes.damage.service.DamageService; |
| | | import com.mes.utils.Result; |
| | | import io.swagger.annotations.Api; |
| | |
| | | damageService.insertDamage(damage); |
| | | return Result.build(200,"新增成功",1); |
| | | } |
| | | @ApiOperation("拿走数据查询") |
| | | @PostMapping("/selectDamagePrint") |
| | | public Result selectDamagePrint(@RequestBody Damage damage) { |
| | | List<Damage> damage2=damageService.selectDamagePrint(damage); |
| | | return Result.build(200,"查询成功",damage2); |
| | | } |
| | | @ApiOperation("拿走打印查询") |
| | | @PostMapping("/selectDamagePrintDetails") |
| | | public Result selectDamagePrintDetails(@RequestBody Damage damage) { |
| | | List<DamagePrint> damage2=damageService.selectDamagePrintDetails(damage); |
| | | return Result.build(200,"查询成功",damage2); |
| | | } |
| | | |
| | | } |
| | | |