|
@@ -336,7 +336,7 @@ public class YHBManager
|
|
|
int result = 0;
|
|
|
try
|
|
|
{
|
|
|
- String sql = "insert into W_YHB(id,yhmc,yhzh,yhmm,passd,yhzt,yhsx,sjid,zdmc,zdbs,zdpx,yhqx,yhsm,tjsj,tjyh,bgsj,by1,by2,by3,key) values(CETDZ.SEQ_W_YHB.nextval,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?) ";
|
|
|
+ String sql = "insert into W_YHB(id,yhmc,yhzh,yhmm,passd,yhzt,yhsx,sjid,zdmc,zdbs,zdpx,yhqx,yhsm,tjsj,tjyh,bgsj,by1,by2,by3) values(CETDZ.SEQ_W_YHB.nextval,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?) ";
|
|
|
|
|
|
|
|
|
this.ps = this.dbc.prepareStatement(sql);
|
|
@@ -361,7 +361,6 @@ public class YHBManager
|
|
|
this.ps.setString(16, yhb.getBy1());
|
|
|
this.ps.setString(17, yhb.getBy2());
|
|
|
this.ps.setString(18, yhb.getBy3());
|
|
|
- this.ps.setString(19, yhb.getKey());
|
|
|
|
|
|
result = this.ps.executeUpdate();
|
|
|
}
|
|
@@ -381,7 +380,7 @@ public class YHBManager
|
|
|
int recode = 0;
|
|
|
try
|
|
|
{
|
|
|
- String sql = "update W_YHB set yhmc=?,yhzh=?,yhmm=?,passd=?,yhzt=?,yhsx=?,sjid=?,zdmc=?,zdbs=?,zdpx=?,yhsm=?,tjyh=?,bgsj=?,by1=?,by2=?,by3=?,key=? where id = ? ";
|
|
|
+ String sql = "update W_YHB set yhmc=?,yhzh=?,yhmm=?,passd=?,yhzt=?,yhsx=?,sjid=?,zdmc=?,zdbs=?,zdpx=?,yhsm=?,tjyh=?,bgsj=?,by1=?,by2=?,by3=? where id = ? ";
|
|
|
|
|
|
|
|
|
this.ps = this.dbc.prepareStatement(sql);
|
|
@@ -402,7 +401,6 @@ public class YHBManager
|
|
|
this.ps.setString(14, yhb.getBy1());
|
|
|
this.ps.setString(15, yhb.getBy2());
|
|
|
this.ps.setString(16, yhb.getBy3());
|
|
|
- this.ps.setString(17, yhb.getKey());
|
|
|
this.ps.setLong(18, yhb.getId().longValue());
|
|
|
|
|
|
recode = this.ps.executeUpdate();
|