| | |
| | | import com.hx.util.StringUtils; |
| | | import com.hx.util.mysql.aes.MysqlHexAesTool; |
| | | |
| | | import javax.annotation.PostConstruct; |
| | | import java.lang.reflect.Field; |
| | | import java.util.*; |
| | | import java.util.concurrent.ExecutorService; |
| | |
| | | /** |
| | | * 项目启动就执行后就执行该方法 |
| | | */ |
| | | @PostConstruct |
| | | //@PostConstruct 2022-06-17屏掉,暂时用不上 |
| | | public static void initData(String packPath, CommonService commonService){ |
| | | |
| | | //项目启动的时候填入 |
| | |
| | | for(String fieldName:fieldData.getEncrypFields()){ |
| | | selectField.append(","+fieldName); |
| | | } |
| | | pageNum = pageNum*pageSize; |
| | | |
| | | sqlSentence.sqlSentence("SELECT "+selectField.toString()+" FROM "+fieldData.getTableName()+" LIMIT "+pageNum+","+pageSize,values); |
| | | List<Map<String,Object>> list = commonService.selectListMap(CommonMapper.class,sqlSentence); |
| | | |