错误处理
parent
fa823e6c3a
commit
0daecb9211
|
@ -61,14 +61,15 @@ public class SmsSendTask {
|
||||||
WmInNoticeIlist = systemService.findHql(hql, "Y");
|
WmInNoticeIlist = systemService.findHql(hql, "Y");
|
||||||
for (WmImNoticeIEntity wmImNoticeIEntity : WmInNoticeIlist) {
|
for (WmImNoticeIEntity wmImNoticeIEntity : WmInNoticeIlist) {
|
||||||
try{
|
try{
|
||||||
|
if(StringUtil.isNotEmpty(wmImNoticeIEntity.getGoodsCount())&&StringUtil.isNotEmpty(wmImNoticeIEntity.getGoodsQmCount())){
|
||||||
if (Double.parseDouble(wmImNoticeIEntity.getGoodsCount()) <= Double.parseDouble(wmImNoticeIEntity.getGoodsQmCount())) {
|
if (Double.parseDouble(wmImNoticeIEntity.getGoodsCount()) <= Double.parseDouble(wmImNoticeIEntity.getGoodsQmCount())) {
|
||||||
wmImNoticeIEntity.setBinPre("Y");
|
wmImNoticeIEntity.setBinPre("Y");
|
||||||
systemService.saveOrUpdate(wmImNoticeIEntity);
|
systemService.saveOrUpdate(wmImNoticeIEntity);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
}catch (Exception e){
|
}catch (Exception e){
|
||||||
e.printStackTrace();
|
e.printStackTrace();
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
// TODO: handle exception
|
// TODO: handle exception
|
||||||
|
|
Loading…
Reference in New Issue