Commit 0968732a zshaohui

呼叫空箱 功能提交

1 个父辈 104c4745
......@@ -148,7 +148,11 @@ public class DataCache {
*/
public void updateCache(String cacheKey, Object value){
cacheItemDao.updateCacheItem(cacheKey,value);
cacheMap.put(cacheKey,value);
if(value == null){
cacheMap.remove(cacheKey);
} else {
cacheMap.put(cacheKey, value);
}
if(cacheKey.equals(Constants.CACHE_CodeRule)){
List<String> ruleList=(List<String>)value;
codeResolve.updateBarcodeRuleList(ruleList);
......
......@@ -24,4 +24,6 @@ public class WareHouseCodeDto implements Serializable {
@ApiModelProperty("描述")
private String description;
private boolean choose = false;
}
......@@ -112,6 +112,9 @@ public class CodeController {
for (WareHouseCode code : codes) {
WareHouseCodeDto codeDto = codeMapper.toDto(code);
codeDto.setId(code.getId());
if ("W10B".equals(code.getWareHouseCode())){
codeDto.setChoose(true);
}
codeDtos.add(codeDto);
}
return new PageData(codeDtos,codePageData.getTotalElements());
......
package com.neotel.smfcore.custom.luxsan.factory_c.rawstor.bean;
import lombok.Data;
@Data
public class CallEmpty {
private String warehouseCode;
private String size;
private int needCount;
}
支持 Markdown 格式
你添加了 0 到此讨论。请谨慎行事。
Finish editing this message first!