Commit e327978d authored by 竹天卫's avatar 竹天卫

样品增加产地字段

parent dc6bb533
...@@ -36,9 +36,9 @@ public class WeiXinController { ...@@ -36,9 +36,9 @@ public class WeiXinController {
log.debug("============================================="); log.debug("=============================================");
try { try {
//测试服务器 //测试服务器
// return weiXinService.getTestToken(code); return weiXinService.getTestToken(code);
//正式服务器 //正式服务器
return weiXinService.getToken(code, "APP"); // return weiXinService.getToken(code, "APP");
} catch (Exception e) { } catch (Exception e) {
log.debug("获取登录token{}", e); log.debug("获取登录token{}", e);
} }
...@@ -50,9 +50,9 @@ public class WeiXinController { ...@@ -50,9 +50,9 @@ public class WeiXinController {
public BaseResponse getPCToken(String code) { public BaseResponse getPCToken(String code) {
try { try {
//测试服务器 //测试服务器
// return weiXinService.getTestToken(code); return weiXinService.getTestToken(code);
//正式服务器 //正式服务器
return weiXinService.getToken(code, "PC"); // return weiXinService.getToken(code, "PC");
} catch (Exception e) { } catch (Exception e) {
log.debug("获取登录token{}", e); log.debug("获取登录token{}", e);
} }
......
...@@ -113,4 +113,7 @@ public class Sample implements Serializable { ...@@ -113,4 +113,7 @@ public class Sample implements Serializable {
@ApiModelProperty("样品是否校核完成(0未检测完成, 1检测完成,)") @ApiModelProperty("样品是否校核完成(0未检测完成, 1检测完成,)")
private Integer isCheck; private Integer isCheck;
@ApiModelProperty("产地")
private String origin;
} }
...@@ -67,4 +67,7 @@ public class SampleTmp implements Serializable { ...@@ -67,4 +67,7 @@ public class SampleTmp implements Serializable {
@ApiModelProperty("备注") @ApiModelProperty("备注")
private String remark; private String remark;
@ApiModelProperty("产地")
private String origin;
} }
...@@ -59,4 +59,5 @@ public class EntrustQuery { ...@@ -59,4 +59,5 @@ public class EntrustQuery {
@ApiModelProperty("样品及检测项列表") @ApiModelProperty("样品及检测项列表")
private List<SampleTmpQuery> sampleTmpList; private List<SampleTmpQuery> sampleTmpList;
} }
...@@ -57,4 +57,7 @@ public class SampleQuery { ...@@ -57,4 +57,7 @@ public class SampleQuery {
@ApiModelProperty("备注") @ApiModelProperty("备注")
private String remark; private String remark;
@ApiModelProperty("产地")
private String origin;
} }
...@@ -40,4 +40,7 @@ public class SampleTmpQuery { ...@@ -40,4 +40,7 @@ public class SampleTmpQuery {
@ApiModelProperty("(检测依据编号) 例子:01、23、15") @ApiModelProperty("(检测依据编号) 例子:01、23、15")
private String methodNumbers; private String methodNumbers;
@ApiModelProperty("产地")
private String origin;
} }
...@@ -48,4 +48,7 @@ public class SampleTmpVo { ...@@ -48,4 +48,7 @@ public class SampleTmpVo {
@ApiModelProperty("收费标准") @ApiModelProperty("收费标准")
private BigDecimal charge; private BigDecimal charge;
@ApiModelProperty("产地")
private String origin;
} }
...@@ -103,4 +103,7 @@ public class SampleVo { ...@@ -103,4 +103,7 @@ public class SampleVo {
@ApiModelProperty("样品是否校核完成(0未检测完成, 1检测完成,)") @ApiModelProperty("样品是否校核完成(0未检测完成, 1检测完成,)")
private Integer isCheck; private Integer isCheck;
@ApiModelProperty("产地")
private String origin;
} }
...@@ -7,8 +7,8 @@ spring: ...@@ -7,8 +7,8 @@ spring:
active: dev active: dev
datasource: datasource:
# 192.168.110.85 admin!@#123 # 192.168.110.85 admin!@#123
# url: jdbc:mysql://192.168.110.85:3306/sinoma_tcdri?serverTimezone=Asia/Shanghai&useUnicode=true&characterEncoding=UTF-8&useSSL=false url: jdbc:mysql://192.168.110.85:3306/sinoma_tcdri?serverTimezone=Asia/Shanghai&useUnicode=true&characterEncoding=UTF-8&useSSL=false
url: jdbc:mysql://47.93.148.213:3306/sinoma_tcdri?serverTimezone=Asia/Shanghai&useUnicode=true&characterEncoding=UTF-8&useSSL=false # url: jdbc:mysql://47.93.148.213:3306/sinoma_tcdri?serverTimezone=Asia/Shanghai&useUnicode=true&characterEncoding=UTF-8&useSSL=false
username: root username: root
password: admin!@#123 password: admin!@#123
driverClassName: com.mysql.cj.jdbc.Driver driverClassName: com.mysql.cj.jdbc.Driver
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment