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");
业务字段唯一编号
最新推荐文章于 2022-05-13 15:42:34 发布