@Service public class SysCodeService extends SysBaseService<SysCodeEntity,SysCodeDao>
dbService, entityManager, isGroupBy, isQueryAll, myDao, queryDslUtil, request, response, uidGeneratorService| 构造器和说明 |
|---|
SysCodeService() |
| 限定符和类型 | 方法和说明 |
|---|---|
Map<String,String> |
getCheckFields() |
String[] |
getDeclareSerialMultipleNo(String uNoCode,
cn.hutool.json.JSONObject args,
int num) |
String |
getDeclareSerialNo(String uNoCode,
cn.hutool.json.JSONObject args) |
String[] |
getSerialNo(String noCode,
cn.hutool.json.JSONObject args,
int num)
获取定义的流水号
PO[YEAR][MONTH][DAY][arg]{4}
|
static void |
main(String[] args) |
afterClean, afterDeleteData, afterSaveData, beforeClean, beforeDeleteData, beforeSaveData, bSureDelete, checkAndSetByIsNew, checkAndSetCodeFormula, checkAndSetCodeFormula, checkIsSystemCreate, checkUnionField, clean, delete, delete, deleteAll, get, get, getCommonSpecification, getCqCount, getCustomWithMap, getCustomWithMapString, getFunSl, getJpaSpecification, getOneCustomWithMapString, getOneWithMapString, getPredicate, getPredicatesByMap, getQueryConditionByRequest, getWithMap, getWithMapString, init, insert, insert, isQueryAll, put, queryByGroup, queryByGroup, queryByGroup, save, update, update@Transactional(rollbackFor=java.lang.Exception.class) public String[] getSerialNo(String noCode, cn.hutool.json.JSONObject args, int num)
noCode - 编号Codeargs - 一些额外参数 args.get("arg")的值替换
一次只能一个线程调用public String[] getDeclareSerialMultipleNo(String uNoCode, cn.hutool.json.JSONObject args, int num)
public static void main(String[] args)
Copyright © 2021. All rights reserved.