|  |  |  | 
|---|
|  |  |  | return R.ok(wrkDetlLogService.selectById(String.valueOf(id))); | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | /** | 
|---|
|  |  |  | * 根据工作主档查看明细时,工作号过滤明细 | 
|---|
|  |  |  | */ | 
|---|
|  |  |  | @RequestMapping(value = "/wrkDetlLogByMast/list/auth") | 
|---|
|  |  |  | @ManagerAuth | 
|---|
|  |  |  | public R list1(@RequestParam(defaultValue = "1")Integer curr, | 
|---|
|  |  |  | @RequestParam(defaultValue = "10")Integer limit, | 
|---|
|  |  |  | @RequestParam Integer wrk_no, | 
|---|
|  |  |  | @RequestParam String ioTime){ | 
|---|
|  |  |  | EntityWrapper<WrkDetlLog> wrapper = new EntityWrapper<>(); | 
|---|
|  |  |  | if(!Cools.isEmpty(wrk_no) && wrk_no != 0){ | 
|---|
|  |  |  | wrapper.eq("wrk_no",wrk_no); | 
|---|
|  |  |  | } | 
|---|
|  |  |  | if(!Cools.isEmpty(ioTime)){ | 
|---|
|  |  |  | wrapper.eq("io_time", DateUtils.convert(ioTime, DateUtils.yyyyMMddHHmmsssss_F)); | 
|---|
|  |  |  | } | 
|---|
|  |  |  | return R.ok(wrkDetlLogService.selectPage(new Page<>(curr, limit), wrapper)); | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | @RequestMapping(value = "/wrkDetlLog/list/auth") | 
|---|
|  |  |  | @ManagerAuth | 
|---|
|  |  |  | public R list(@RequestParam(defaultValue = "1")Integer curr, | 
|---|