| | |
| | | import com.zy.asrs.framework.common.DateUtils; |
| | | import com.zy.asrs.common.web.BaseController; |
| | | import com.zy.asrs.framework.exception.CoolException; |
| | | import org.apache.ibatis.annotations.Param; |
| | | import org.springframework.beans.BeanUtils; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.jdbc.core.JdbcTemplate; |
| | |
| | | for (OrderDetl o: orderDetl1) { |
| | | BigDecimal c1 = new BigDecimal(o.getEnableQty()).setScale(2,BigDecimal.ROUND_HALF_UP); |
| | | o.setAnfme(c1.doubleValue()); |
| | | if (o.getAnfme().equals(0.0)){ |
| | | continue; |
| | | } |
| | | orderDetls.add(o); |
| | | } |
| | | return R.ok(orderDetls); |
| | |
| | | return R.ok(orderService.selectAllorderNo(getHostId())); |
| | | } |
| | | |
| | | // @RequestMapping(value = "/outOrder/list/all") |
| | | // @ManagerAuth |
| | | // public R orderOutList() { |
| | | // return R.ok(orderService.selectAllOutOrderNo(getHostId())); |
| | | // } |
| | | |
| | | @RequestMapping(value = "/outOrder/list/all") |
| | | @ManagerAuth |
| | | public R orderOutList() { |
| | | return R.ok(orderService.selectAllOutOrderNo(getHostId())); |
| | | public R orderOutListOrder(@RequestBody String orderNo) { |
| | | return R.ok(orderService.selectAllOutOrderNo(orderNo,getHostId())); |
| | | } |
| | | |
| | | @RequestMapping(value = "/order/{id}/auth") |