Merge remote-tracking branch 'origin/develop_master' into FOTON
This commit is contained in:
+1
-1
@@ -1832,7 +1832,7 @@ public class SarBussionessStandServiceImpl extends ServiceImpl<SarBussionessStan
|
|||||||
QueryWrapper<SarBussStandFile> fileQueryWrapper = new QueryWrapper<>();
|
QueryWrapper<SarBussStandFile> fileQueryWrapper = new QueryWrapper<>();
|
||||||
fileQueryWrapper.eq("STAND_ID",data.getId());
|
fileQueryWrapper.eq("STAND_ID",data.getId());
|
||||||
fileQueryWrapper.eq("USE_MODEL","SOURCE_FILE");
|
fileQueryWrapper.eq("USE_MODEL","SOURCE_FILE");
|
||||||
fileQueryWrapper.eq("validFlag",0);
|
fileQueryWrapper.eq("VALID_FLAG",0);
|
||||||
List<SarBussStandFile> sarBussStandFiles = sarBussStandFileEODao.selectList(fileQueryWrapper);
|
List<SarBussStandFile> sarBussStandFiles = sarBussStandFileEODao.selectList(fileQueryWrapper);
|
||||||
if(sarBussStandFiles!=null && !sarBussStandFiles.isEmpty()){
|
if(sarBussStandFiles!=null && !sarBussStandFiles.isEmpty()){
|
||||||
for(SarBussStandFile file : sarBussStandFiles){
|
for(SarBussStandFile file : sarBussStandFiles){
|
||||||
|
|||||||
+1
-1
@@ -3586,7 +3586,7 @@ public class SarStandardsInfoServiceImpl extends ServiceImpl<SarStandardsInfoDao
|
|||||||
QueryWrapper<SarStandFile> fileQueryWrapper = new QueryWrapper<>();
|
QueryWrapper<SarStandFile> fileQueryWrapper = new QueryWrapper<>();
|
||||||
fileQueryWrapper.eq("STAND_ID",data.getId());
|
fileQueryWrapper.eq("STAND_ID",data.getId());
|
||||||
fileQueryWrapper.eq("USE_MODEL","SOURCE_FILE");
|
fileQueryWrapper.eq("USE_MODEL","SOURCE_FILE");
|
||||||
fileQueryWrapper.eq("validFlag",0);
|
fileQueryWrapper.eq("VALID_FLAG","0");
|
||||||
List<SarStandFile> sarStandFiles = sarStandFileEODao.selectList(fileQueryWrapper);
|
List<SarStandFile> sarStandFiles = sarStandFileEODao.selectList(fileQueryWrapper);
|
||||||
if(sarStandFiles!=null && !sarStandFiles.isEmpty()){
|
if(sarStandFiles!=null && !sarStandFiles.isEmpty()){
|
||||||
for(SarStandFile file : sarStandFiles){
|
for(SarStandFile file : sarStandFiles){
|
||||||
|
|||||||
@@ -96,7 +96,7 @@ public class EncryptFileUtils {
|
|||||||
* @param list
|
* @param list
|
||||||
*/
|
*/
|
||||||
public void writeTxt(List<String> list) {
|
public void writeTxt(List<String> list) {
|
||||||
String savePath = filePath+"/TEMPPATH/"+ UUIDUtils.randomSnowflakeID()+".txt";
|
String savePath = filePath+"/TEMPPATH/"+ UUIDUtils.randomUUID20()+".txt";
|
||||||
BufferedWriter bw = null;
|
BufferedWriter bw = null;
|
||||||
FileWriter fr = null;
|
FileWriter fr = null;
|
||||||
try {
|
try {
|
||||||
|
|||||||
Reference in New Issue
Block a user