master
parent
4e64d2c4c0
commit
14d3c47440
|
@ -56,9 +56,6 @@ import java.util.Map;
|
||||||
@RequestMapping("/wmsApiController")
|
@RequestMapping("/wmsApiController")
|
||||||
public class WmsApiController {
|
public class WmsApiController {
|
||||||
|
|
||||||
/**
|
|
||||||
* Logger for this class
|
|
||||||
*/
|
|
||||||
private static final Logger logger = Logger.getLogger(WmsApiController.class);
|
private static final Logger logger = Logger.getLogger(WmsApiController.class);
|
||||||
|
|
||||||
@Autowired
|
@Autowired
|
||||||
|
@ -349,7 +346,6 @@ public class WmsApiController {
|
||||||
AjaxJson j = new AjaxJson();
|
AjaxJson j = new AjaxJson();
|
||||||
message = "仓位定义添加成功";
|
message = "仓位定义添加成功";
|
||||||
try{
|
try{
|
||||||
|
|
||||||
MdBinEntity mdb = null;
|
MdBinEntity mdb = null;
|
||||||
List<MdBinEntity> mdblist = systemService.findByProperty(MdBinEntity.class, "kuWeiBianMa", mdBin.getKuWeiBianMa());
|
List<MdBinEntity> mdblist = systemService.findByProperty(MdBinEntity.class, "kuWeiBianMa", mdBin.getKuWeiBianMa());
|
||||||
for (MdBinEntity t:mdblist){
|
for (MdBinEntity t:mdblist){
|
||||||
|
@ -357,8 +353,6 @@ public class WmsApiController {
|
||||||
mdb = t;
|
mdb = t;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// MdBinEntity mdBin1 = systemService.findUniqueByProperty(MdBinEntity.class, "kuWeiBianMa", mdBin.getKuWeiBianMa());
|
|
||||||
if(mdb ==null ){
|
if(mdb ==null ){
|
||||||
mdBinService.save(mdBin);
|
mdBinService.save(mdBin);
|
||||||
j.setObj(mdBin);
|
j.setObj(mdBin);
|
||||||
|
@ -412,8 +406,6 @@ public class WmsApiController {
|
||||||
if(!StringUtil.isEmpty(wmImNoticeIEntity.getGoodsCode())){
|
if(!StringUtil.isEmpty(wmImNoticeIEntity.getGoodsCode())){
|
||||||
try {
|
try {
|
||||||
MvGoodsEntity mvgoods = systemService.findUniqueByProperty(MvGoodsEntity.class,"goodsId",wmImNoticeIEntity.getGoodsCode());
|
MvGoodsEntity mvgoods = systemService.findUniqueByProperty(MvGoodsEntity.class,"goodsId",wmImNoticeIEntity.getGoodsCode());
|
||||||
// String date[]=wmImNoticeIEntity.getGoodsCode().split("-");
|
|
||||||
|
|
||||||
long hiti = 0;
|
long hiti = 0;
|
||||||
try {
|
try {
|
||||||
if(StringUtil.isEmpty(wmImNoticeIEntity.getBinPlan())){
|
if(StringUtil.isEmpty(wmImNoticeIEntity.getBinPlan())){
|
||||||
|
|
Loading…
Reference in New Issue