add:修改在线编辑存储多条数据问题
This commit is contained in:
+9
-1
@@ -5029,10 +5029,18 @@ public class SarBussionessStandServiceImpl extends ServiceImpl<SarBussionessStan
|
|||||||
QueryWrapper<OnlineFileLog> onlineFileLogWrapper = new QueryWrapper<>();
|
QueryWrapper<OnlineFileLog> onlineFileLogWrapper = new QueryWrapper<>();
|
||||||
onlineFileLogWrapper.eq("ATT_FILE_ID",sarBussStandFiles.get(0).getOriAttId());
|
onlineFileLogWrapper.eq("ATT_FILE_ID",sarBussStandFiles.get(0).getOriAttId());
|
||||||
List<OnlineFileLog> onlineFileLogs = onlineFileLogDao.selectList(onlineFileLogWrapper);
|
List<OnlineFileLog> onlineFileLogs = onlineFileLogDao.selectList(onlineFileLogWrapper);
|
||||||
|
QueryWrapper<SarBussStandFile> webFileWrapper = new QueryWrapper<>();
|
||||||
|
webFileWrapper.eq("ORI_ATT_ID", sarBussStandFiles.get(0).getAttId());
|
||||||
|
webFileWrapper.eq("USE_MODEL", "WEB_FILE");
|
||||||
|
webFileWrapper.eq("VALID_FLAG","0");
|
||||||
|
List<SarBussStandFile> webFile = sarBussStandFileEODao.selectList(webFileWrapper);
|
||||||
|
if (!webFile.isEmpty()){
|
||||||
|
continue;
|
||||||
|
}
|
||||||
if(!onlineFileLogs.isEmpty()){
|
if(!onlineFileLogs.isEmpty()){
|
||||||
//在线编辑的情况下,判断是否有web
|
//在线编辑的情况下,判断是否有web
|
||||||
// QueryWrapper<SarBussStandFile> objectQueryWrapperSarBussStandFile = new QueryWrapper<>();
|
// QueryWrapper<SarBussStandFile> objectQueryWrapperSarBussStandFile = new QueryWrapper<>();
|
||||||
// objectQueryWrapperSarBussStandFile.eq("ORI_ATT_ID", sarBussStandFiles.get(0).getOriAttId());
|
// objectQueryWrapperSarBussStandFile.eq("ORI_ATT_ID", sarBussStandFiles.get(0).getAttId());
|
||||||
// objectQueryWrapperSarBussStandFile.eq("USE_MODEL", "WEB_FILE");
|
// objectQueryWrapperSarBussStandFile.eq("USE_MODEL", "WEB_FILE");
|
||||||
// List<SarBussStandFile> sarBussStandFilesList = sarBussStandFileEODao.selectList(objectQueryWrapperSarBussStandFile);
|
// List<SarBussStandFile> sarBussStandFilesList = sarBussStandFileEODao.selectList(objectQueryWrapperSarBussStandFile);
|
||||||
// if(!sarBussStandFilesList.isEmpty()){
|
// if(!sarBussStandFilesList.isEmpty()){
|
||||||
|
|||||||
Reference in New Issue
Block a user