| | |
| | | filter = filter + " and " + queryFilterService.getQueryFilter(fs);
|
| | | }
|
| | | // fs.getInteger(CmnConst.PAGESIZE),fs.getInteger(CmnConst.CPAGE)
|
| | | DataTableEntity dt = baseDao.listTable(CmnConst.APP_NOTICE_PUNISHMENT,filter, null,null,null,fs.getInteger(CmnConst.PAGESIZE),fs.getInteger(CmnConst.CPAGE));
|
| | | DataTableEntity dt = baseDao.listTable(CmnConst.APP_NOTICE_PUNISHMENT,filter, null,null," no00 desc",fs.getInteger(CmnConst.PAGESIZE),fs.getInteger(CmnConst.CPAGE));
|
| | | baseDao.loadPromptData(dt);
|
| | | return dt;
|
| | | }
|
| | |
| | | @Transactional
|
| | | public void addTypeSize(FieldSetEntity fs) throws BaseException {
|
| | | String tableName = fs.getTableName();
|
| | | DataTableEntity dataTableEntity = baseDao.listTable("SELECT IFNULL(MAX(no02),0) no02 FROM "+tableName, new String[]{});
|
| | | String year = fs.getString("no01");
|
| | | DataTableEntity dataTableEntity = baseDao.listTable("SELECT IFNULL(MAX(no02),0) no02 FROM "+tableName+" where no01=?", new String[]{year});
|
| | | String no02 = String.valueOf(Integer.parseInt(dataTableEntity.getFieldSetEntity(0).getString("no02")) + 1);
|
| | | while (no02.length() < 3){
|
| | | no02 = "0" + no02;
|