|
@@ -24,6 +24,8 @@ import net.sf.json.JSONArray;
|
|
|
import org.apache.commons.lang3.StringUtils;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
import org.springframework.stereotype.Service;
|
|
|
+import org.springframework.transaction.annotation.Isolation;
|
|
|
+import org.springframework.transaction.annotation.Propagation;
|
|
|
import org.springframework.transaction.annotation.Transactional;
|
|
|
|
|
|
import java.util.ArrayList;
|
|
@@ -230,7 +232,7 @@ public class NoCarInterServiceImpl implements NoCarInterService {
|
|
|
* @return
|
|
|
*/
|
|
|
@Override
|
|
|
- @Transactional
|
|
|
+ @Transactional(isolation= Isolation.READ_COMMITTED)
|
|
|
public DataResult noCarBillStart(String appKey, String api, String data,String requestid) {
|
|
|
|
|
|
long costtimestart = System.currentTimeMillis();
|
|
@@ -456,7 +458,7 @@ public class NoCarInterServiceImpl implements NoCarInterService {
|
|
|
* @return
|
|
|
*/
|
|
|
@Override
|
|
|
- @Transactional
|
|
|
+ @Transactional(isolation= Isolation.READ_COMMITTED)
|
|
|
public DataResult noCarHisWaybillStart(String appKey, String api, String data,String requestid) {
|
|
|
|
|
|
long costtimestart = System.currentTimeMillis();
|
|
@@ -722,7 +724,7 @@ public class NoCarInterServiceImpl implements NoCarInterService {
|
|
|
return result;
|
|
|
}
|
|
|
if (null == noCarWayBill1){
|
|
|
- result.setMsg("运单号异常,无法开票");
|
|
|
+ result.setMsg("运单号不存在,无法开票");
|
|
|
return result;
|
|
|
}
|
|
|
noCarWayBill1.setCustomerName(appKey);
|