no message
parent
8b03f5df37
commit
03a3ea7e05
|
|
@ -38,20 +38,6 @@
|
|||
</exclusions>
|
||||
</dependency>
|
||||
|
||||
|
||||
<dependency>
|
||||
<groupId>org.jeecgframework.jimureport</groupId>
|
||||
<artifactId>jimureport-spring-boot-starter</artifactId>
|
||||
<version>1.6.6</version>
|
||||
<exclusions>
|
||||
<exclusion>
|
||||
<artifactId>poi-ooxml-schemas</artifactId>
|
||||
<groupId>org.apache.poi</groupId>
|
||||
</exclusion>
|
||||
</exclusions>
|
||||
|
||||
</dependency>
|
||||
|
||||
<!-- 通用模块 -->
|
||||
<dependency>
|
||||
<groupId>com.youchain</groupId>
|
||||
|
|
|
|||
|
|
@ -4,6 +4,8 @@ import io.swagger.annotations.Api;
|
|||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
|
||||
import java.util.Set;
|
||||
|
||||
@Data
|
||||
@Api(tags = "装配线叫料(紧急)")
|
||||
public class ZpjlJj {
|
||||
|
|
@ -13,12 +15,8 @@ public class ZpjlJj {
|
|||
String orderNo;
|
||||
@ApiModelProperty(value ="下发时间",required = true,example = "2023-07-03 00:00:00")
|
||||
String createTime;
|
||||
@ApiModelProperty(value ="物料代码",required = true,example = "物料代码")
|
||||
String itemCode;
|
||||
@ApiModelProperty(value ="物料名称",required = true,example = "物料名称")
|
||||
String itemName;
|
||||
@ApiModelProperty(value ="物料数量",required = true,example = "物料数量(紧急叫料输入)")
|
||||
Double itemQty=0d;
|
||||
@ApiModelProperty(value ="紧急明细",required = true)
|
||||
Set<ItemDate> itemDetail;
|
||||
@ApiModelProperty(value ="需求工位",required = true)
|
||||
String station;
|
||||
@ApiModelProperty(value ="需求点位",required = true)
|
||||
|
|
|
|||
|
|
@ -1,56 +0,0 @@
|
|||
package com.youchain.modules.jimu;
|
||||
|
||||
import com.alibaba.fastjson.JSONObject;
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
import org.jeecg.modules.jmreport.desreport.render.handler.convert.ApiDataConvertAdapter;
|
||||
import org.springframework.stereotype.Component;
|
||||
|
||||
@Slf4j
|
||||
@Component("myApiDataConvertAdapter")
|
||||
public class MyApiDataConvertAdapter implements ApiDataConvertAdapter {
|
||||
/**
|
||||
* 返回list数据集
|
||||
* @param jsonObject 接口数据原始对象
|
||||
* @return
|
||||
*/
|
||||
@Override
|
||||
public String getData(JSONObject jsonObject) {
|
||||
log.error(jsonObject.toJSONString());
|
||||
if(jsonObject.containsKey("content")){
|
||||
return jsonObject.getString("content");
|
||||
}else{
|
||||
return null;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* 返回links
|
||||
* @param jsonObject 接口数据原始对象
|
||||
* @return
|
||||
*/
|
||||
@Override
|
||||
public String getLinks(JSONObject jsonObject) {
|
||||
return null;
|
||||
}
|
||||
|
||||
/**
|
||||
* 返回总页数
|
||||
* @param jsonObject 接口数据原始对象
|
||||
* @return
|
||||
*/
|
||||
@Override
|
||||
public String getTotal(JSONObject jsonObject) {
|
||||
return null;
|
||||
}
|
||||
|
||||
/**
|
||||
* 返回总条数
|
||||
* @param jsonObject 接口数据原始对象
|
||||
* @return
|
||||
*/
|
||||
@Override
|
||||
public String getCount(JSONObject jsonObject) {
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
|
@ -6,6 +6,7 @@ spring:
|
|||
freemarker:
|
||||
check-template-location: false
|
||||
profiles:
|
||||
#active: prod
|
||||
active: dev
|
||||
jackson:
|
||||
time-zone: GMT+8
|
||||
|
|
@ -34,7 +35,7 @@ spring:
|
|||
#password: ${REDIS_PWD:123456}
|
||||
#port: ${REDIS_PORT:6380}
|
||||
|
||||
host: ${REDIS_HOST:127.0.0.1}
|
||||
host: ${REDIS_HOST:localhost}
|
||||
password: ${REDIS_PWD:}
|
||||
port: ${REDIS_PORT:6379}
|
||||
#连接超时时间
|
||||
|
|
|
|||
Loading…
Reference in New Issue