|
@ -123,6 +123,13 @@ public class YkyyController extends EnvelopRestEndpoint {
|
|
|
envelop.setObj(object1);
|
|
|
}else if (table.equalsIgnoreCase("HLW_CF02")){
|
|
|
HlwCf02DO hlwCf01VO = JSONObject.toJavaObject(object,HlwCf02DO.class);
|
|
|
String sbxhSql =" select dqz + 1 as \"total\" from portal_his.gy_identity_ms@xec_link where bmc = 'MS_CF02'";
|
|
|
List<Map<String,Object>> sbxhList = hibenateUtils.createSQLQuery(sbxhSql);
|
|
|
Long sbxh = 0L;
|
|
|
if (sbxhList!=null&&sbxhList.size()!=0){
|
|
|
sbxh = Long.parseLong(sbxhList.get(0).get("total").toString());
|
|
|
}
|
|
|
hlwCf01VO.setSBXH(sbxh.intValue());
|
|
|
ykyyEntranceService.save(hlwCf01VO);
|
|
|
}
|
|
|
|