日期格式变换
parent
5224cd5f0c
commit
1da6327829
|
@ -1015,15 +1015,21 @@ for (WmInQmIEntity wmInQmIEntity : wmInQmIso) {
|
|||
systemService.updateEntitie(mdGoodsEntity);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
}catch (Exception e){
|
||||
|
||||
}
|
||||
if(StringUtil.isNotEmpty(wmInQmI.getProData())){//8位日期转yyyy-mm-dd
|
||||
try{
|
||||
if(StringUtil.getStringLen(wmInQmI.getProData())==8){
|
||||
String prodate = wmInQmI.getProData().substring(0,4)+"-"+
|
||||
wmInQmI.getProData().substring(4,6)+"-"+
|
||||
wmInQmI.getProData().substring(6,8);
|
||||
wmInQmI.setProData(prodate);
|
||||
}
|
||||
}catch (Exception e){
|
||||
}
|
||||
}
|
||||
String id = wmInQmIService.save(wmInQmI).toString();
|
||||
|
||||
|
||||
if("on".equals(ResourceUtil.getConfigByName("onestepup"))&&StringUtil.isNotEmpty(wmInQmI.getBinId())){
|
||||
toup(id);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue