| | |
| | | import com.zy.asrs.service.MatService; |
| | | import com.zy.common.web.BaseController; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.transaction.annotation.Transactional; |
| | | import org.springframework.web.bind.annotation.RequestBody; |
| | | import org.springframework.web.bind.annotation.RequestMapping; |
| | | import org.springframework.web.bind.annotation.RequestParam; |
| | |
| | | @Autowired |
| | | private MatService matService; |
| | | |
| | | @RequestMapping(value = "/manlocDetl/locNo") |
| | | @ManagerAuth |
| | | public R locNoList(@RequestParam String locNo){ |
| | | |
| | | if (Cools.isEmpty(locNo)){ |
| | | return R.error("无数据"); |
| | | } |
| | | List<ManLocDetl> list = manLocDetlService.selectList(new EntityWrapper<ManLocDetl>().eq("loc_no", locNo)); |
| | | return R.ok(list); |
| | | } |
| | | |
| | | @RequestMapping(value = "/manLocDetl/list/auth") |
| | | @ManagerAuth |
| | | public R list(@RequestParam(defaultValue = "1")Integer curr, |