校验
This commit is contained in:
+14
@@ -2681,6 +2681,7 @@ public class SarBussionessStandServiceImpl extends ServiceImpl<SarBussionessStan
|
|||||||
if(!buildIdList.isEmpty()){
|
if(!buildIdList.isEmpty()){
|
||||||
for (String bid: buildIdList){
|
for (String bid: buildIdList){
|
||||||
List<OldSystem> OldSystem1 = sarStandardsInfoDao.selectOldSystemInfoByBuidId(bid);
|
List<OldSystem> OldSystem1 = sarStandardsInfoDao.selectOldSystemInfoByBuidId(bid);
|
||||||
|
if(!OldSystem1.isEmpty()){
|
||||||
OldSystem oldSystem =OldSystem1.get(0);
|
OldSystem oldSystem =OldSystem1.get(0);
|
||||||
if (oldSystem.getLoreDocId().equals(bid)) {
|
if (oldSystem.getLoreDocId().equals(bid)) {
|
||||||
//通过,号分割文件,通过id去查询文件 获取文件名称
|
//通过,号分割文件,通过id去查询文件 获取文件名称
|
||||||
@@ -2837,8 +2838,10 @@ public class SarBussionessStandServiceImpl extends ServiceImpl<SarBussionessStan
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
}else {
|
}else {
|
||||||
List<OldSystem> OldSystem1 = sarStandardsInfoDao.selectOldSystemInfoByBuidId(SarStandardsInfo.getBuildId());
|
List<OldSystem> OldSystem1 = sarStandardsInfoDao.selectOldSystemInfoByBuidId(SarStandardsInfo.getBuildId());
|
||||||
|
if(!OldSystem1.isEmpty()){
|
||||||
OldSystem oldSystem =OldSystem1.get(0);
|
OldSystem oldSystem =OldSystem1.get(0);
|
||||||
if (oldSystem.getLoreDocId().equals(SarStandardsInfo.getBuildId())) {
|
if (oldSystem.getLoreDocId().equals(SarStandardsInfo.getBuildId())) {
|
||||||
//通过,号分割文件,通过id去查询文件 获取文件名称
|
//通过,号分割文件,通过id去查询文件 获取文件名称
|
||||||
@@ -2997,6 +3000,8 @@ public class SarBussionessStandServiceImpl extends ServiceImpl<SarBussionessStan
|
|||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
}
|
||||||
if (StringUtils.isNotBlank(yi)) {
|
if (StringUtils.isNotBlank(yi)) {
|
||||||
old.setTranslation(yi);
|
old.setTranslation(yi);
|
||||||
}
|
}
|
||||||
@@ -3035,6 +3040,7 @@ public class SarBussionessStandServiceImpl extends ServiceImpl<SarBussionessStan
|
|||||||
if(!buildIdList.isEmpty()){
|
if(!buildIdList.isEmpty()){
|
||||||
for (String bid: buildIdList){
|
for (String bid: buildIdList){
|
||||||
List<OldSystem> OldSystem1 = sarStandardsInfoDao.selectOldSystemInfoByBuidId(bid);
|
List<OldSystem> OldSystem1 = sarStandardsInfoDao.selectOldSystemInfoByBuidId(bid);
|
||||||
|
if(!OldSystem1.isEmpty()){
|
||||||
OldSystem oldSystem =OldSystem1.get(0);
|
OldSystem oldSystem =OldSystem1.get(0);
|
||||||
if (oldSystem.getLoreDocId().equals(bid)) {
|
if (oldSystem.getLoreDocId().equals(bid)) {
|
||||||
//通过,号分割文件,通过id去查询文件 获取文件名称
|
//通过,号分割文件,通过id去查询文件 获取文件名称
|
||||||
@@ -3191,8 +3197,10 @@ public class SarBussionessStandServiceImpl extends ServiceImpl<SarBussionessStan
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
}else {
|
}else {
|
||||||
List<OldSystem> OldSystem1 = sarStandardsInfoDao.selectOldSystemInfoByBuidId(SarStandardsInfo.getBuildId());
|
List<OldSystem> OldSystem1 = sarStandardsInfoDao.selectOldSystemInfoByBuidId(SarStandardsInfo.getBuildId());
|
||||||
|
if(!OldSystem1.isEmpty()){
|
||||||
OldSystem oldSystem =OldSystem1.get(0);
|
OldSystem oldSystem =OldSystem1.get(0);
|
||||||
if (oldSystem.getLoreDocId().equals(SarStandardsInfo.getBuildId())) {
|
if (oldSystem.getLoreDocId().equals(SarStandardsInfo.getBuildId())) {
|
||||||
//通过,号分割文件,通过id去查询文件 获取文件名称
|
//通过,号分割文件,通过id去查询文件 获取文件名称
|
||||||
@@ -3351,6 +3359,8 @@ public class SarBussionessStandServiceImpl extends ServiceImpl<SarBussionessStan
|
|||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
}
|
||||||
if (StringUtils.isNotBlank(yi)) {
|
if (StringUtils.isNotBlank(yi)) {
|
||||||
old.setTranslation(yi);
|
old.setTranslation(yi);
|
||||||
}
|
}
|
||||||
@@ -3389,6 +3399,7 @@ public class SarBussionessStandServiceImpl extends ServiceImpl<SarBussionessStan
|
|||||||
if(!buildIdList.isEmpty()){
|
if(!buildIdList.isEmpty()){
|
||||||
for (String bid: buildIdList){
|
for (String bid: buildIdList){
|
||||||
List<OldSystem> OldSystem1 = sarStandardsInfoDao.selectOldSystemInfoByBuidId(bid);
|
List<OldSystem> OldSystem1 = sarStandardsInfoDao.selectOldSystemInfoByBuidId(bid);
|
||||||
|
if(OldSystem1.isEmpty()){
|
||||||
OldSystem oldSystem =OldSystem1.get(0);
|
OldSystem oldSystem =OldSystem1.get(0);
|
||||||
if (oldSystem.getLoreDocId().equals(bid)) {
|
if (oldSystem.getLoreDocId().equals(bid)) {
|
||||||
//通过,号分割文件,通过id去查询文件 获取文件名称
|
//通过,号分割文件,通过id去查询文件 获取文件名称
|
||||||
@@ -3545,8 +3556,10 @@ public class SarBussionessStandServiceImpl extends ServiceImpl<SarBussionessStan
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
}else {
|
}else {
|
||||||
List<OldSystem> OldSystem1 = sarStandardsInfoDao.selectOldSystemInfoByBuidId(sarBussionessStand.getBuildId());
|
List<OldSystem> OldSystem1 = sarStandardsInfoDao.selectOldSystemInfoByBuidId(sarBussionessStand.getBuildId());
|
||||||
|
if(!OldSystem1.isEmpty()){
|
||||||
OldSystem oldSystem =OldSystem1.get(0);
|
OldSystem oldSystem =OldSystem1.get(0);
|
||||||
if (oldSystem.getLoreDocId().equals(sarBussionessStand.getBuildId())) {
|
if (oldSystem.getLoreDocId().equals(sarBussionessStand.getBuildId())) {
|
||||||
//通过,号分割文件,通过id去查询文件 获取文件名称
|
//通过,号分割文件,通过id去查询文件 获取文件名称
|
||||||
@@ -3703,6 +3716,7 @@ public class SarBussionessStandServiceImpl extends ServiceImpl<SarBussionessStan
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
if (StringUtils.isNotBlank(yi)) {
|
if (StringUtils.isNotBlank(yi)) {
|
||||||
|
|||||||
Reference in New Issue
Block a user