|  |  |  | 
|---|
|  |  |  | return R.ok(wrkMastLogService.selectPage(new Page<>(curr, limit), wrapper)); | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | @RequestMapping(value = "/inventoryFlow/list/auth") | 
|---|
|  |  |  | @ManagerAuth(memo = "库存移动流水记录") | 
|---|
|  |  |  | public R inventoryFlowList(@RequestParam(defaultValue = "1")Integer curr, | 
|---|
|  |  |  | @RequestParam(defaultValue = "10")Integer limit, | 
|---|
|  |  |  | @RequestParam(required = false)String orderByField, | 
|---|
|  |  |  | @RequestParam(required = false)String orderByType, | 
|---|
|  |  |  | @RequestParam(required = false)String condition, | 
|---|
|  |  |  | @RequestParam Map<String, Object> param){ | 
|---|
|  |  |  | excludeTrash(param); | 
|---|
|  |  |  | if (Cools.isEmpty(param.get("io_time"))) { | 
|---|
|  |  |  | param.put("startTime",""); | 
|---|
|  |  |  | param.put("endTime",""); | 
|---|
|  |  |  | } else { | 
|---|
|  |  |  | String ioTime = (String) param.get("io_time"); | 
|---|
|  |  |  | if (ioTime.contains(RANGE_TIME_LINK)){ | 
|---|
|  |  |  | String[] dates = ioTime.split(RANGE_TIME_LINK); | 
|---|
|  |  |  | param.put("startTime",dates[0]); | 
|---|
|  |  |  | param.put("endTime",dates[1]); | 
|---|
|  |  |  | } | 
|---|
|  |  |  | } | 
|---|
|  |  |  | return wrkMastLogService.inventoryFlowList(curr,limit,param); | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | private <T> void convert(Map<String, Object> map, EntityWrapper<T> wrapper){ | 
|---|
|  |  |  | for (Map.Entry<String, Object> entry : map.entrySet()){ | 
|---|
|  |  |  | String val = String.valueOf(entry.getValue()); | 
|---|