Commit 6d53b3a5 by zhengxj

finish 整理代码 on 20190917

by zhengxj 

git-svn-id: svn://192.168.3.233/frms/code/car-service/trunk/car-service@23956 aeb6102e-e053-11e5-9fec-f9ebc45caf4b
1 parent 10513ce2
...@@ -33,5 +33,5 @@ public interface SysOrderFileMapper { ...@@ -33,5 +33,5 @@ public interface SysOrderFileMapper {
int addOrderFileList(@Param("fileList")List<SysOrderFile> fileList); int addOrderFileList(@Param("fileList")List<SysOrderFile> fileList);
int countByOrderIdAndFileType(Integer orderId,String filePath); int countByOrderIdAndFilePath(Integer orderId,String filePath);
} }
\ No newline at end of file \ No newline at end of file
...@@ -757,7 +757,7 @@ public class OrderBiddingServiceImpl implements IOrderBiddingService { ...@@ -757,7 +757,7 @@ public class OrderBiddingServiceImpl implements IOrderBiddingService {
List<SysOrderFile> fileList = new ArrayList<SysOrderFile>(); List<SysOrderFile> fileList = new ArrayList<SysOrderFile>();
int count = 0; int count = 0;
for (int i = 0; i < filesArray.length; i++) { for (int i = 0; i < filesArray.length; i++) {
if (sysOrderFileDao.countByOrderIdAndFileType(orderId, filesArray[i]) > 0) { if (sysOrderFileDao.countByOrderIdAndFilePath(orderId, filesArray[i]) > 0) {
count++; count++;
continue; continue;
} }
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!