Commit e3533c1817c525d9bd8357b5b2ea4c8d1d53a90f
1 parent
cd9df2e6
update...
Showing
1 changed file
with
1 additions
and
1 deletions
src/main/java/com/bsth/data/schedule/thread/SchedulePstThread.java
| ... | ... | @@ -152,7 +152,7 @@ public class SchedulePstThread extends Thread { |
| 152 | 152 | ps.setBoolean(40, sch.isOnline()); |
| 153 | 153 | ps.setString(41, sch.getAdjustExps()); |
| 154 | 154 | ps.setBoolean(42, sch.isReissue()); |
| 155 | - ps.setDouble(43, sch.getJhlcOrig()); | |
| 155 | + ps.setDouble(43, sch.getJhlcOrig()==null?0:sch.getJhlcOrig()); | |
| 156 | 156 | ps.setInt(44, sch.getSiginCompate()); |
| 157 | 157 | ps.setInt(45, sch.getDriftStatus()); |
| 158 | 158 | ps.setBoolean(46, sch.isCcService()); | ... | ... |