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