| | |
| | | import com.zy.asrs.entity.*; |
| | | import com.zy.asrs.entity.param.OrderDomainParam; |
| | | import com.zy.asrs.service.*; |
| | | import com.zy.common.CodeRes; |
| | | import com.zy.common.model.DetlDto; |
| | | import com.zy.common.web.BaseController; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | |
| | | } |
| | | return R.ok(); |
| | | } |
| | | @RequestMapping(value = "/order/print/auth") |
| | | @ManagerAuth(memo = "订单编码打印") |
| | | public R orderPrint(@RequestParam(value = "param[]") String[] param) { |
| | | if(Cools.isEmpty(param)) { |
| | | return R.parse(CodeRes.EMPTY); |
| | | } |
| | | List<OrderDetl> res = new ArrayList<>(); |
| | | for (String orderNo : param){ |
| | | res = orderDetlService.selectList(new EntityWrapper<OrderDetl>().eq("order_no", orderNo)); |
| | | } |
| | | return R.ok().add(res); |
| | | } |
| | | |
| | | @RequestMapping("/order/in") |
| | | public R in(@RequestBody JSONObject param){ |