feat:修改用户记录

dev
wangxy 3 weeks ago
parent bfb6f13b3b
commit dd421b988c

@ -36,10 +36,10 @@ package com.archive;
System.out.println("系统授权时间:" + ckDate);
boolean res = MacUtil.sqjy(MAC, ckDate, sqsj);
if (res) {
//if (res) {
SpringApplication.run(com.archive.ArchiveApplication.class, args);
System.out.println("(♥◠‿◠)ノ゙ 系统启动成功 ლ(´ڡ`ლ)゙ ");
}
// }
}
}

@ -60,7 +60,8 @@
private IDictTypeService dictTypeService;
@Autowired
private ArchiveConfig archiveConfig;
@Override
public ArchiveType selectArchiveTypeById(Long id) {
return this.archiveTypeMapper.selectArchiveTypeById(id);
}
@ -73,7 +74,7 @@
@Override
public List<ArchiveType> selectArchiveTypeList(ArchiveType archiveType) {
if ("mysql".equals(this.archiveConfig.getDatabaseType())) {
return this.archiveTypeMapper.selectArchiveTypeList(archiveType);
@ -92,7 +93,7 @@
@Override
@Transactional
public void insertArchiveType(ArchiveType archiveType) throws Exception {
this.archiveTypeMapper.insertArchiveType(archiveType);
@ -130,7 +131,7 @@
@Override
public int updateArchiveType(ArchiveType archiveType) {
return this.archiveTypeMapper.updateArchiveType(archiveType);
}
@ -142,7 +143,7 @@
@Override
public int deleteArchiveTypeByIds(String ids) {
return this.archiveTypeMapper.deleteArchiveTypeByIds(Convert.toStrArray(ids));
}
@ -154,12 +155,12 @@
@Override
public int deleteArchiveTypeById(Long id) {
return this.archiveTypeMapper.deleteArchiveTypeById(id);
}
@Override
public List<ArchiveCollationTree> archiveCollationTreeData() {
List<ArchiveType> list = this.archiveTypeMapper.selectArchiveTypeList(new ArchiveType());
List<ArchiveCollationTree> treeDatas = new ArrayList<>();
@ -183,7 +184,7 @@
}
@Override
@Transactional
public void deleteArchiveType(String ids) throws Exception {
PhysicalTable physicalTable = new PhysicalTable();
@ -208,7 +209,7 @@
this.archiveTypeMapper.deleteArchiveTypeById(id);
}
@Override
public boolean checkArchiveTypeIsHaveData(String ids) {
PhysicalTable physicalTable = new PhysicalTable();
physicalTable.setArchivetypeid(ids);
@ -227,7 +228,7 @@
return flag;
}
@Override
public List<ArchiveTypeManageTree> ArchiveTypeManageTreeData() {
List<ArchiveTypeManageTree> list = new ArrayList<>();
@ -285,7 +286,7 @@
return list;
}
@Override
public String appendBaseForm(Long tableId) {
StringBuilder html = new StringBuilder();
PhysicalTableColumn physicalTableColumn = new PhysicalTableColumn();

@ -47,6 +47,7 @@
@Autowired
private IExecuteSqlService executeSqlService;
@Override
public Ccgl selectCcglById(Long id) {
return this.ccglMapper.selectCcglById(id);
}
@ -58,7 +59,7 @@
@Override
public List<Ccgl> selectCcglList(Ccgl ccgl) {
return this.ccglMapper.selectCcglList(ccgl);
}
@ -70,7 +71,7 @@
@Override
public int insertCcgl(Ccgl ccgl) {
return this.ccglMapper.insertCcgl(ccgl);
}
@ -82,7 +83,7 @@
@Override
public int updateCcgl(Ccgl ccgl) {
return this.ccglMapper.updateCcgl(ccgl);
}
@ -94,7 +95,7 @@
@Override
public int deleteCcglByIds(String ids) {
return this.ccglMapper.deleteCcglByIds(Convert.toStrArray(ids));
}
@ -106,7 +107,7 @@
@Override
public int deleteCcglById(Long id) {
return this.ccglMapper.deleteCcglById(id);
}
@ -117,7 +118,7 @@
@Override
public String getPathByLjbs(String ljbs) {
String path = "";
Ccgl ccgl = new Ccgl();
@ -137,7 +138,7 @@
@Override
public String getCreateDocumentPathByFile(long id, long tableId) {
String resPath = "";

@ -62,7 +62,7 @@
@Override
public List<DictType> selectDictTypeList(DictType dictType) {
if ("mysql".equals(this.archiveConfig.getDatabaseType())) {
return this.dictTypeMapper.selectDictTypeList(dictType);
@ -81,7 +81,7 @@
@Override
public List<DictType> selectDictTypeAll() {
return this.dictTypeMapper.selectDictTypeAll();
}
@ -93,7 +93,7 @@
@Override
public List<DictData> selectDictDataByType(String dictType) {
List<DictData> dictDatas = DictUtils.getDictCache(dictType);
if (StringUtils.isNotEmpty(dictDatas))
@ -116,7 +116,7 @@
@Override
public DictType selectDictTypeById(Long dictId) {
return this.dictTypeMapper.selectDictTypeById(dictId);
}
@ -128,7 +128,7 @@
@Override
public DictType selectDictTypeByType(String dictType) {
return this.dictTypeMapper.selectDictTypeByType(dictType);
}
@ -140,7 +140,7 @@
@Override
public int deleteDictTypeByIds(String ids) {
Long[] dictIds = Convert.toLongArray(ids);
for (Long dictId : dictIds) {
@ -163,7 +163,7 @@
@Override
public void clearCache() {
DictUtils.clearDictCache();
}
@ -175,7 +175,7 @@
@Override
public int insertDictType(DictType dictType) {
dictType.setCreateBy(ShiroUtils.getLoginName());
int row = 0;
@ -200,7 +200,7 @@
@Override
@Transactional
public int updateDictType(DictType dictType) {
dictType.setUpdateBy(ShiroUtils.getLoginName());
@ -228,7 +228,7 @@
@Override
public String checkDictTypeUnique(DictType dict) {
Long dictId = Long.valueOf(StringUtils.isNull(dict.getDictId()) ? -1L : dict.getDictId().longValue());
DictType dictType = this.dictTypeMapper.checkDictTypeUnique(dict.getDictType());
@ -246,7 +246,7 @@
@Override
public List<Ztree> selectDictTree(DictType dictType) {
List<Ztree> ztrees = new ArrayList<>();
List<DictType> dictList = this.dictTypeMapper.selectDictTypeList(dictType);

@ -8,6 +8,7 @@ import com.archive.project.system.dict.domain.DictType;
import java.util.List;
public interface IDictTypeService {
List<DictType> selectDictTypeList(DictType paramDictType);
List<DictType> selectDictTypeAll();

Loading…
Cancel
Save