| | |
| | | import com.baomidou.mybatisplus.mapper.Wrapper; |
| | | import com.baomidou.mybatisplus.plugins.Page; |
| | | import com.core.common.DateUtils; |
| | | import zy.cloud.wms.manager.entity.Pickout; |
| | | import zy.cloud.wms.manager.entity.PickoutDetl; |
| | | import zy.cloud.wms.manager.service.PickoutDetlService; |
| | | import com.core.annotations.ManagerAuth; |
| | |
| | | import zy.cloud.wms.common.web.BaseController; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.web.bind.annotation.*; |
| | | import zy.cloud.wms.manager.service.PickoutService; |
| | | |
| | | import java.util.*; |
| | | |
| | |
| | | |
| | | @Autowired |
| | | private PickoutDetlService pickoutDetlService; |
| | | @Autowired |
| | | private PickoutService pickoutService; |
| | | |
| | | @RequestMapping(value = "/pickoutDetl/{id}/auth") |
| | | @ManagerAuth |
| | |
| | | excludeTrash(param); |
| | | convert(param, wrapper); |
| | | if (!Cools.isEmpty(orderByField)){wrapper.orderBy(humpToLine(orderByField), "asc".equals(orderByType));} |
| | | return R.ok(pickoutDetlService.selectPage(new Page<>(curr, limit), wrapper)); |
| | | Page<PickoutDetl> pickoutDetlPage = pickoutDetlService.selectPage(new Page<>(curr, limit), wrapper); |
| | | |
| | | return R.ok(pickoutDetlPage); |
| | | } |
| | | |
| | | private void convert(Map<String, Object> map, EntityWrapper wrapper){ |