诊断下载数据格式问题

dev
anthonywj 2 years ago
parent 8e166d7607
commit 153857f6e7

@ -27,7 +27,6 @@ public class UdiWmsController {
* *
* *
* @param udiwmsUnitRequest * @param udiwmsUnitRequest
* @param bindingResult
* @return * @return
*/ */
@PostMapping("/udiwms/erp/getUnits") @PostMapping("/udiwms/erp/getUnits")

@ -16,8 +16,9 @@ public class UHttpUtils {
public static String formatResponse(String response) { public static String formatResponse(String response) {
response = response.replace("\\\"\\\\\\\\\\\"", "\"\""); response = response.replace("\\\"\\\\\\\\\\\"", "\"\"");
response = response.replace("\\\"\\\\\\\"", "\"\""); response = response.replace("\\\"\\\\\\\"", "\"");
response = response.replace("\\\\\\\"", "'"); response = response.replace("\\\\\\\"", "'");
// response = response.replace("\\\"\\\\\\\"","");
response = response.replace("}\\", "} "); response = response.replace("}\\", "} ");
response = response.replace("\\", ""); response = response.replace("\\", "");

@ -1,7 +1,7 @@
spring: spring:
datasource: datasource:
driver-class-name: com.p6spy.engine.spy.P6SpyDriver driver-class-name: com.p6spy.engine.spy.P6SpyDriver
url: jdbc:p6spy:mysql://127.0.0.1:3306/udi_wms_zyy?allowMultiQueries=true&serverTimezone=Asia/Shanghai&useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false&allowPublicKeyRetrieval=true url: jdbc:p6spy:mysql://127.0.0.1:3306/udi_wms_pzh?allowMultiQueries=true&serverTimezone=Asia/Shanghai&useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false&allowPublicKeyRetrieval=true
username: root username: root
password: 123456 password: 123456
hikari: hikari:

Loading…
Cancel
Save