业务字段唯一编号



zj01Dto.setAab031(this.ggz01Dao.lookUp("select  decode((select max(aab031) aab031 from zjk03 where aae100 = 1 and to_char(sysdate, 'yyyy') = substr(AAB031, 0, 4)), null, to_char(sysdate, 'yyyy')||'001', "
				+ "(select max(aab031) aab031  from zjk03 where aae100 = 1 and to_char(sysdate,  'yyyy') =  substr(AAB031,0,4))+1) from dual"));
		zj01Dto.setIsAdd("1");

猜你喜欢

转载自1971161579.iteye.com/blog/2369699
今日推荐