Merge remote-tracking branch 'origin/dev' into dev
This commit is contained in:
@@ -82,6 +82,16 @@
|
|||||||
</exclusion>
|
</exclusion>
|
||||||
</exclusions>
|
</exclusions>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
<dependency>
|
||||||
|
<groupId>org.apache.seata</groupId>
|
||||||
|
<artifactId>seata-spring-boot-starter</artifactId>
|
||||||
|
<exclusions>
|
||||||
|
<exclusion>
|
||||||
|
<groupId>com.alibaba</groupId>
|
||||||
|
<artifactId>druid</artifactId>
|
||||||
|
</exclusion>
|
||||||
|
</exclusions>
|
||||||
|
</dependency>
|
||||||
|
|
||||||
</dependencies>
|
</dependencies>
|
||||||
|
|
||||||
|
|||||||
@@ -35,4 +35,6 @@ public class ElementPageReqVO extends PageParam {
|
|||||||
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
|
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
|
||||||
private LocalDateTime[] createTime;
|
private LocalDateTime[] createTime;
|
||||||
|
|
||||||
|
@Schema(description = "排序")
|
||||||
|
private Integer sort;
|
||||||
}
|
}
|
||||||
@@ -44,4 +44,6 @@ public class ElementRespVO {
|
|||||||
@ExcelProperty("创建时间")
|
@ExcelProperty("创建时间")
|
||||||
private LocalDateTime createTime;
|
private LocalDateTime createTime;
|
||||||
|
|
||||||
|
@Schema(description = "排序")
|
||||||
|
private Integer sort;
|
||||||
}
|
}
|
||||||
@@ -34,4 +34,7 @@ public class ElementSaveReqVO {
|
|||||||
@NotEmpty(message = "品位单位不能为空")
|
@NotEmpty(message = "品位单位不能为空")
|
||||||
private String gradeUnit;
|
private String gradeUnit;
|
||||||
|
|
||||||
|
@Schema(description = "排序")
|
||||||
|
private Integer sort;
|
||||||
|
|
||||||
}
|
}
|
||||||
@@ -94,4 +94,7 @@ public class ElementDO extends BusinessBaseDO {
|
|||||||
@TableField("UPDATER_NAME")
|
@TableField("UPDATER_NAME")
|
||||||
private String updaterName;
|
private String updaterName;
|
||||||
|
|
||||||
|
@TableField("SORT")
|
||||||
|
private Integer sort;
|
||||||
|
|
||||||
}
|
}
|
||||||
@@ -26,13 +26,14 @@ public interface ElementMapper extends BaseMapperX<ElementDO> {
|
|||||||
.likeIfPresent(ElementDO::getCoding, reqVO.getCoding())
|
.likeIfPresent(ElementDO::getCoding, reqVO.getCoding())
|
||||||
.eqIfPresent(ElementDO::getGradeUnit, reqVO.getGradeUnit())
|
.eqIfPresent(ElementDO::getGradeUnit, reqVO.getGradeUnit())
|
||||||
.betweenIfPresent(ElementDO::getCreateTime, reqVO.getCreateTime())
|
.betweenIfPresent(ElementDO::getCreateTime, reqVO.getCreateTime())
|
||||||
.orderByDesc(ElementDO::getId));
|
.orderByDesc(ElementDO::getSort));
|
||||||
}
|
}
|
||||||
|
|
||||||
String selectMaxCode();
|
String selectMaxCode();
|
||||||
|
|
||||||
default List<ElementDO> getElementNoPage() {
|
default List<ElementDO> getElementNoPage() {
|
||||||
return selectList(new LambdaQueryWrapperX<ElementDO>()
|
return selectList(new LambdaQueryWrapperX<ElementDO>()
|
||||||
.orderByDesc(ElementDO::getId));
|
.eq(ElementDO::getIsEnable, 1)
|
||||||
|
.orderByDesc(ElementDO::getSort));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -9,6 +9,7 @@ import com.zt.plat.module.contractorder.api.dto.order.PurchaseOrderWithDetailsDT
|
|||||||
import com.zt.plat.module.contractorder.api.dto.order.SalesOrdDtlDTO;
|
import com.zt.plat.module.contractorder.api.dto.order.SalesOrdDtlDTO;
|
||||||
import com.zt.plat.module.contractorder.api.vo.contract.international.IntContract;
|
import com.zt.plat.module.contractorder.api.vo.contract.international.IntContract;
|
||||||
import com.zt.plat.module.contractorder.api.vo.contract.international.IntContractPageReq;
|
import com.zt.plat.module.contractorder.api.vo.contract.international.IntContractPageReq;
|
||||||
|
import com.zt.plat.module.contractorder.api.vo.contract.international.IntPushContractReqVO;
|
||||||
import com.zt.plat.module.contractorder.enums.ApiConstants;
|
import com.zt.plat.module.contractorder.enums.ApiConstants;
|
||||||
import io.swagger.v3.oas.annotations.Operation;
|
import io.swagger.v3.oas.annotations.Operation;
|
||||||
import io.swagger.v3.oas.annotations.tags.Tag;
|
import io.swagger.v3.oas.annotations.tags.Tag;
|
||||||
@@ -44,7 +45,7 @@ public interface ContractApi {
|
|||||||
|
|
||||||
@PostMapping(PREFIX + "/push")
|
@PostMapping(PREFIX + "/push")
|
||||||
@Operation(summary = "国贸2.0系统推送合同")
|
@Operation(summary = "国贸2.0系统推送合同")
|
||||||
CommonResult<Boolean> push(@Valid @RequestBody IntContract reqVO);
|
void push(@Valid @RequestBody IntPushContractReqVO pushReqVO);
|
||||||
|
|
||||||
@GetMapping(PREFIX + "/logistics/list/page")
|
@GetMapping(PREFIX + "/logistics/list/page")
|
||||||
@Operation(summary = "国贸2.0系统合同分页查询")
|
@Operation(summary = "国贸2.0系统合同分页查询")
|
||||||
|
|||||||
@@ -0,0 +1,24 @@
|
|||||||
|
package com.zt.plat.module.contractorder.api.vo.contract.international;
|
||||||
|
|
||||||
|
import io.swagger.v3.oas.annotations.media.Schema;
|
||||||
|
import lombok.Data;
|
||||||
|
|
||||||
|
@Schema(description = "国贸2.0系统推送合同 Request VO")
|
||||||
|
@Data
|
||||||
|
public class IntPushContractReqVO {
|
||||||
|
|
||||||
|
@Schema(description = "接口请求号")
|
||||||
|
private String __requestId_;
|
||||||
|
@Schema(description = "接口类型")
|
||||||
|
private String __interfaceType__;
|
||||||
|
@Schema(description = "操作标志")
|
||||||
|
private String operateFlag;
|
||||||
|
@Schema(description = "发送时间 yyyyMMddHHmmss")
|
||||||
|
private String datetime;
|
||||||
|
@Schema(description = "单据号")
|
||||||
|
private String busiBillCode;
|
||||||
|
@Schema(description = "发送方系统")
|
||||||
|
private String system;
|
||||||
|
@Schema(description = "发送数据")
|
||||||
|
private IntContract data;
|
||||||
|
}
|
||||||
@@ -0,0 +1,29 @@
|
|||||||
|
package com.zt.plat.module.contractorder.api.vo.contract.international;
|
||||||
|
|
||||||
|
import cn.hutool.json.JSONObject;
|
||||||
|
import io.swagger.v3.oas.annotations.media.Schema;
|
||||||
|
import lombok.Data;
|
||||||
|
|
||||||
|
@Schema(description = "国贸2.0系统推送合同 Response VO")
|
||||||
|
@Data
|
||||||
|
public class IntPushContractRespVO {
|
||||||
|
|
||||||
|
@Schema(description = "接口请求号")
|
||||||
|
private String __requestId_;
|
||||||
|
@Schema(description = "接口类型")
|
||||||
|
private String __interfaceType__;
|
||||||
|
@Schema(description = "单据号")
|
||||||
|
private String busiBillCode;
|
||||||
|
@Schema(description = "返回状态")
|
||||||
|
private Integer code;
|
||||||
|
@Schema(description = "返回信息")
|
||||||
|
private String message;
|
||||||
|
@Schema(description = "返回时间 yyyyMMddHHmmss")
|
||||||
|
private String datetime;
|
||||||
|
@Schema(description = "返回方系统")
|
||||||
|
private String system;
|
||||||
|
@Schema(description = "操作标志")
|
||||||
|
private String operateFlag;
|
||||||
|
@Schema(description = "返回数据")
|
||||||
|
private JSONObject data;
|
||||||
|
}
|
||||||
File diff suppressed because it is too large
Load Diff
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user