错误处理
parent
3de74393d4
commit
1296251259
|
@ -60,10 +60,15 @@ public class SmsSendTask {
|
|||
hql = "from WmImNoticeIEntity t where t.binPre<>? ";
|
||||
WmInNoticeIlist = systemService.findHql(hql, "Y");
|
||||
for (WmImNoticeIEntity wmImNoticeIEntity : WmInNoticeIlist) {
|
||||
try{
|
||||
if (Double.parseDouble(wmImNoticeIEntity.getGoodsCount()) <= Double.parseDouble(wmImNoticeIEntity.getGoodsQmCount())) {
|
||||
wmImNoticeIEntity.setBinPre("Y");
|
||||
systemService.saveOrUpdate(wmImNoticeIEntity);
|
||||
}
|
||||
}catch (Exception e){
|
||||
e.printStackTrace();
|
||||
}
|
||||
|
||||
}
|
||||
} catch (Exception e) {
|
||||
// TODO: handle exception
|
||||
|
|
Loading…
Reference in New Issue