自动化立体仓库 - WMS系统
cl
2026-03-24 2c33a9a2967206d6167335ca178a0bce3351426c
src/main/java/com/zy/asrs/controller/LocMastController.java
@@ -15,6 +15,7 @@
import com.zy.asrs.entity.param.LocMastInitParam;
import com.zy.asrs.service.LocDetlService;
import com.zy.asrs.service.LocMastService;
import com.zy.asrs.service.MonitorLocMapCacheService;
import com.zy.common.entity.Parameter;
import com.zy.common.model.Shelves;
import com.zy.common.web.BaseController;
@@ -30,6 +31,8 @@
    private LocMastService locMastService;
    @Autowired
    private LocDetlService locDetlService;
    @Autowired
    private MonitorLocMapCacheService monitorLocMapCacheService;
    @RequestMapping(value = "/locMast/init/pwd")
    public R locMastInitPwd(@RequestParam(required = false) String pwd) {
@@ -64,8 +67,9 @@
        if (!Cools.isEmpty(orderByField)) {
            wrapper.orderBy(humpToLine(orderByField), "asc".equals(orderByType));
        }
        wrapper.orderBy("loc_attribute",false);
        return R.ok(locMastService.selectPage(new Page<>(curr, limit), wrapper));
        R r = R.ok(locMastService.selectPage(new Page<>(curr, limit), wrapper));
        monitorLocMapCacheService.clearQuietly();
        return r;
    }
    private <T> void convert(Map<String, Object> map, EntityWrapper<T> wrapper) {