Browse Source

【英唐电子发票】

DINGYL 2 years ago
parent
commit
b9a7a3b19b

+ 3 - 0
src/main/java/com/uas/eis/service/Impl/ERPServiceImpl.java

@@ -393,6 +393,9 @@ public class ERPServiceImpl implements ERPService {
                     commonService.logSRecord("红字确认单申请("+rs_main.getGeneralString("ei_refno")+")",id);
                 }else{
                     commonService.logFRecord("红字确认单申请("+rs_main.getGeneralInt("ei_id")+")","("+code+")"+describe,id);
+                    map.put("success", false);
+                    map.put("message", "("+code+")"+describe);
+                    return map;
                 }
                 logger.info("pushInvoiceOrder master {} ,id {} code {} describe {} applycode{}",master,id,code,describe,result);
             }

+ 2 - 2
src/main/resources/application-dev.yml

@@ -4,7 +4,7 @@ spring:
         driverClassName: oracle.jdbc.OracleDriver
         username: YITOA_DATACENTER
         password: select!#%*(
-        url: jdbc:oracle:thin:@110.10.10.103:1521:orcl
+        url: jdbc:oracle:thin:@10.1.81.208:11756:orcl
         initialSize: 1
         maxActive: 3
         maxWait: 30000
@@ -22,7 +22,7 @@ server:
     tomcat:
         uri_encoding: UTF-8
     context-path:
-        /EIS
+        /eis_invoice
     port: 8184
 
 action:

+ 1 - 1
src/main/resources/application-prod.yml

@@ -22,7 +22,7 @@ server:
     tomcat:
         uri_encoding: UTF-8
     context-path:
-        /EIS
+        /eis_invoice
     port: 8184
 
 action: