Commit fb215872 authored by 李驰骋's avatar 李驰骋

完工入库单创建字段默认调整

parent 09a28d9a
package com.topsunit.scanservice.ximai.common;
import org.springframework.context.annotation.Configuration;
import org.springframework.stereotype.Component;
import org.springframework.web.servlet.config.annotation.CorsRegistry;
import org.springframework.web.servlet.config.annotation.WebMvcConfigurer;
@Configuration
public class WebMvcConfig implements WebMvcConfigurer {
@Override
public void addCorsMappings(CorsRegistry registry) {
registry.addMapping("/**")
.allowedOrigins("*")
.allowedMethods("GET", "POST", "PUT", "DELETE")
.maxAge(3600);
}
}
...@@ -53,10 +53,14 @@ public class MoctgCreateParams { ...@@ -53,10 +53,14 @@ public class MoctgCreateParams {
private String tg015; private String tg015;
@ApiModelProperty("检验状态") @ApiModelProperty("检验状态")
private String tg016="0"; private String tg016="0";
@ApiModelProperty("批号")
private String tg017="********************";
@ApiModelProperty("急料") @ApiModelProperty("急料")
private String tg024; private String tg024;
@ApiModelProperty("生产日期") @ApiModelProperty("生产日期")
private String tg030; private String tg030;
@ApiModelProperty("批号说明")
private String tg031="";
@ApiModelProperty("报废数量") @ApiModelProperty("报废数量")
private BigDecimal tg012=BigDecimal.ZERO; private BigDecimal tg012=BigDecimal.ZERO;
@ApiModelProperty("验退数量") @ApiModelProperty("验退数量")
......
...@@ -17,7 +17,7 @@ import java.util.List; ...@@ -17,7 +17,7 @@ import java.util.List;
public class PurtgCreateParams { public class PurtgCreateParams {
@ApiModelProperty("到货单别") @ApiModelProperty("到货单别")
private String cc001; private String cc001;
@ApiModelProperty("gcfm货单号") @ApiModelProperty("货单号")
private String cc002; private String cc002;
@ApiModelProperty("进货单别,默认3401") @ApiModelProperty("进货单别,默认3401")
private String tg001="3401"; private String tg001="3401";
......
...@@ -24,7 +24,7 @@ public class PurthCreateParams { ...@@ -24,7 +24,7 @@ public class PurthCreateParams {
private String cd003; private String cd003;
@ApiModelProperty("仓库") @ApiModelProperty("仓库")
private String th009 = ""; private String th009 = "";
@ApiModelProperty("原币单位金价") @ApiModelProperty("批号")
private String th010 = ""; private String th010 = "";
@ApiModelProperty("验收数量,默认进货数-入库数") @ApiModelProperty("验收数量,默认进货数-入库数")
private BigDecimal th015 = BigDecimal.ZERO; private BigDecimal th015 = BigDecimal.ZERO;
......
...@@ -36,10 +36,10 @@ public class SfctbCreateParams { ...@@ -36,10 +36,10 @@ public class SfctbCreateParams {
private Integer tc020; private Integer tc020;
@ApiModelProperty("使用机时") @ApiModelProperty("使用机时")
private Integer tc021; private Integer tc021;
@ApiModelProperty("") @ApiModelProperty("批号")
private String tc032; private String tc032;
@ApiModelProperty("转移数量") @ApiModelProperty("转移数量")
private BigDecimal tc036; private BigDecimal tc036;
@ApiModelProperty("") @ApiModelProperty("库位")
private String tc056; private String tc056;
} }
...@@ -81,6 +81,8 @@ public class Moctg extends EntityBase { ...@@ -81,6 +81,8 @@ public class Moctg extends EntityBase {
private String tg015; private String tg015;
@ApiModelProperty("检验状态") @ApiModelProperty("检验状态")
private String tg016="0"; private String tg016="0";
@ApiModelProperty("批号")
private String tg017;
@ApiModelProperty("急料") @ApiModelProperty("急料")
private String tg024; private String tg024;
/** /**
...@@ -96,5 +98,7 @@ public class Moctg extends EntityBase { ...@@ -96,5 +98,7 @@ public class Moctg extends EntityBase {
private BigDecimal tg032; private BigDecimal tg032;
@ApiModelProperty("验收数量") @ApiModelProperty("验收数量")
private BigDecimal tg013; private BigDecimal tg013;
@ApiModelProperty("批号说明")
private String tg031;
} }
...@@ -2,6 +2,7 @@ package com.topsunit.scanservice.ximai.security; ...@@ -2,6 +2,7 @@ package com.topsunit.scanservice.ximai.security;
import com.topsunit.scanservice.ximai.common.AppConfig; import com.topsunit.scanservice.ximai.common.AppConfig;
import com.topsunit.scanservice.ximai.common.Constants; import com.topsunit.scanservice.ximai.common.Constants;
import com.topsunit.scanservice.ximai.common.TopsunitException;
import com.topsunit.scanservice.ximai.dto.LoginResult; import com.topsunit.scanservice.ximai.dto.LoginResult;
import io.jsonwebtoken.Claims; import io.jsonwebtoken.Claims;
import io.jsonwebtoken.Jwts; import io.jsonwebtoken.Jwts;
...@@ -52,6 +53,7 @@ public class TokenService ...@@ -52,6 +53,7 @@ public class TokenService
} }
catch (Exception e) catch (Exception e)
{ {
throw new TopsunitException(e);
} }
} }
return null; return null;
...@@ -128,7 +130,7 @@ public class TokenService ...@@ -128,7 +130,7 @@ public class TokenService
} }
catch (Exception e) catch (Exception e)
{ {
e.printStackTrace(); throw new TopsunitException(e);
} }
} }
return null; return null;
......
...@@ -7,6 +7,26 @@ topsunit: ...@@ -7,6 +7,26 @@ topsunit:
mes-url: http://localhost:8088 mes-url: http://localhost:8088
default-password: 123456 default-password: 123456
db-name: TEST db-name: TEST
print:
urls:
- code: 1
url: http://192.168.1.24:8085/ximaiprintservice/print/PrintLabelByBarTender
- code: 2
url: http://192.168.4.198:8085/ximaiprintservice/print/PrintLabelByBarTender
- code: 3
url: http://192.168.2.198:8085/ximaiprintservice/print/PrintLabelByBarTender
- code: 4
url: http://192.168.3.198:8085/ximaiprintservice/print/PrintLabelByBarTender
- code: 5
url: http://192.168.1.25:8085/ximaiprintservice/print/PrintLabelByBarTender
- code: 6
url: http://192.168.1.26:8085/ximaiprintservice/print/PrintLabelByBarTender
- code: 7
url: http://192.168.2.197:8085/ximaiprintservice/print/PrintLabelByBarTender
- code: 8
url: http://192.168.3.197:8085/ximaiprintservice/print/PrintLabelByBarTender
- code: 9
url: http://192.168.4.197:8085/ximaiprintservice/print/PrintLabelByBarTender
server: server:
port: 20091 port: 20091
servlet: servlet:
......
...@@ -6,7 +6,7 @@ topsunit: ...@@ -6,7 +6,7 @@ topsunit:
share-url: smb://127.0.0.1/share share-url: smb://127.0.0.1/share
mes-url: http://localhost:8088 mes-url: http://localhost:8088
default-password: 123456 default-password: 123456
db-name: Leader db-name: DEMO
print: print:
urls: urls:
- code: 1 - code: 1
...@@ -50,10 +50,10 @@ spring: ...@@ -50,10 +50,10 @@ spring:
- classpath:/static/ - classpath:/static/
- classpath:/public/ - classpath:/public/
datasource: datasource:
name: Leader name: DEMO
username: sa username: sa
password: 123qweQWE password: 123qweQWE
url: jdbc:sqlserver://192.168.1.21:1433;DatabaseName=Leader url: jdbc:sqlserver://192.168.1.21:1433;DatabaseName=DEMO
type: com.alibaba.druid.pool.DruidDataSource type: com.alibaba.druid.pool.DruidDataSource
druid: druid:
filters: stat filters: stat
......
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