
10 changed files with 189 additions and 1 deletions
@ -0,0 +1,62 @@ |
|||
package com.yxt.anrui.scm.api.scmtransferrecords; |
|||
|
|||
import com.yxt.common.core.domain.BaseEntity; |
|||
import io.swagger.annotations.ApiModelProperty; |
|||
import lombok.Data; |
|||
|
|||
import java.util.Date; |
|||
|
|||
/** |
|||
* @description: 物品移交记录 |
|||
* @author: dimengzhe |
|||
* @date: 2023/6/5 |
|||
**/ |
|||
@Data |
|||
public class ScmTransferRecords extends BaseEntity { |
|||
private static final long serialVersionUID = 9087540680738846795L; |
|||
|
|||
@ApiModelProperty("移交物品sid") |
|||
private String goodsSid; |
|||
@ApiModelProperty("移交物品名称") |
|||
private String goodsName; |
|||
@ApiModelProperty("车架号") |
|||
private String vinNo; |
|||
@ApiModelProperty("车辆sid") |
|||
private String vinSid; |
|||
@ApiModelProperty("移交数量") |
|||
private int transferNum; |
|||
@ApiModelProperty("物品单位") |
|||
private String goodsUnit; |
|||
@ApiModelProperty("移交人sid") |
|||
private String transferSid; |
|||
@ApiModelProperty("移交人") |
|||
private String transferName; |
|||
@ApiModelProperty("移交部门sid") |
|||
private String transferDeptSid; |
|||
@ApiModelProperty("移交部门") |
|||
private String transferDept; |
|||
@ApiModelProperty("移交备注") |
|||
private String transferRemarks; |
|||
@ApiModelProperty("移交附件") |
|||
private String transferFiles; |
|||
@ApiModelProperty("接收角色sid") |
|||
private String receiveRoleSid; |
|||
@ApiModelProperty("接收人sid") |
|||
private String receiveSid; |
|||
@ApiModelProperty("接收人") |
|||
private String receiveName; |
|||
@ApiModelProperty("接收部门sid") |
|||
private String receiveDeptSid; |
|||
@ApiModelProperty("接收部门") |
|||
private String receiveDept; |
|||
@ApiModelProperty("接收状态") |
|||
private int receiveState; |
|||
@ApiModelProperty("接收时间") |
|||
private Date receiveTime; |
|||
@ApiModelProperty("接收附件") |
|||
private String receiveFiles; |
|||
@ApiModelProperty("使用组织sid") |
|||
private String useOrgSid; |
|||
@ApiModelProperty("使用组织名称") |
|||
private String useOrgName; |
|||
} |
@ -0,0 +1,26 @@ |
|||
package com.yxt.anrui.scm.api.scmtransferrecords; |
|||
|
|||
import io.swagger.annotations.Api; |
|||
import io.swagger.annotations.ApiOperation; |
|||
import org.springframework.cloud.openfeign.FeignClient; |
|||
import org.springframework.web.bind.annotation.PostMapping; |
|||
import org.springframework.web.bind.annotation.RequestBody; |
|||
import org.springframework.web.bind.annotation.ResponseBody; |
|||
|
|||
/** |
|||
* @description: 物品移交记录对外接口 |
|||
* @author: dimengzhe |
|||
* @date: 2023/6/5 |
|||
**/ |
|||
@Api(tags = "物品移交记录") |
|||
@FeignClient( |
|||
contextId = "anrui-scm-ScmTransferRecords", |
|||
name = "anrui-scm", |
|||
path = "v1/ScmTransferRecords", |
|||
fallback = ScmTransferRecordsFeignFallback.class) |
|||
public interface ScmTransferRecordsFeign { |
|||
|
|||
@ApiOperation("分页列表") |
|||
@PostMapping("/pagerList") |
|||
public ResultBean<PagerVo<AppBusSalesOrderVo>> getSaleOrders(@RequestBody PagerQuery<AppBusSalesOrderQuery> pq); |
|||
} |
@ -0,0 +1,12 @@ |
|||
package com.yxt.anrui.scm.api.scmtransferrecords; |
|||
|
|||
import org.springframework.stereotype.Component; |
|||
|
|||
/** |
|||
* @description: 物品移交记录 |
|||
* @author: dimengzhe |
|||
* @date: 2023/6/5 |
|||
**/ |
|||
@Component |
|||
public class ScmTransferRecordsFeignFallback { |
|||
} |
@ -0,0 +1,38 @@ |
|||
package com.yxt.anrui.scm.api.scmtransferrecords; |
|||
|
|||
import com.yxt.common.core.vo.Vo; |
|||
import io.swagger.annotations.ApiModelProperty; |
|||
import lombok.Data; |
|||
|
|||
/** |
|||
* @description: |
|||
* @author: dimengzhe |
|||
* @date: 2023/6/5 |
|||
**/ |
|||
@Data |
|||
public class ScmTransferRecordsVo implements Vo { |
|||
private static final long serialVersionUID = -2648064038807719461L; |
|||
|
|||
@ApiModelProperty("合同编号") |
|||
private String contractNo; |
|||
@ApiModelProperty("创建时间") |
|||
private String createTime; |
|||
|
|||
//车架号
|
|||
@ApiModelProperty("车架号") |
|||
private String vinNo; |
|||
//开票单位
|
|||
//开票类型
|
|||
//开票名称
|
|||
//开票金额
|
|||
//发票号
|
|||
//移交部门
|
|||
@ApiModelProperty("移交部门") |
|||
private String transferDept; |
|||
@ApiModelProperty("移交人") |
|||
private String transferName; |
|||
@ApiModelProperty("移交备注") |
|||
private String transferRemarks; |
|||
|
|||
private String sid; |
|||
} |
@ -0,0 +1,14 @@ |
|||
package com.yxt.anrui.scm.biz.scmtransferrecords; |
|||
|
|||
import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
|||
import com.yxt.anrui.scm.api.scmtransferrecords.ScmTransferRecords; |
|||
import org.apache.ibatis.annotations.Mapper; |
|||
|
|||
/** |
|||
* @description: |
|||
* @author: dimengzhe |
|||
* @date: 2023/6/5 |
|||
**/ |
|||
@Mapper |
|||
public interface ScmTransferRecordsMapper extends BaseMapper<ScmTransferRecords> { |
|||
} |
@ -0,0 +1,4 @@ |
|||
<?xml version="1.0" encoding="UTF-8" ?> |
|||
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> |
|||
<mapper namespace="com.yxt.anrui.scm.biz.scmtransferrecords.ScmTransferRecordsMapper"> |
|||
</mapper> |
@ -0,0 +1,17 @@ |
|||
package com.yxt.anrui.scm.biz.scmtransferrecords; |
|||
|
|||
import com.yxt.anrui.scm.api.scmtransferrecords.ScmTransferRecordsFeign; |
|||
import io.swagger.annotations.Api; |
|||
import org.springframework.web.bind.annotation.RequestMapping; |
|||
import org.springframework.web.bind.annotation.RestController; |
|||
|
|||
/** |
|||
* @description: 物品移交记录 |
|||
* @author: dimengzhe |
|||
* @date: 2023/6/5 |
|||
**/ |
|||
@Api(tags = "物品移交记录") |
|||
@RestController |
|||
@RequestMapping("v1/ScmTransferRecords") |
|||
public class ScmTransferRecordsRest implements ScmTransferRecordsFeign { |
|||
} |
@ -0,0 +1,14 @@ |
|||
package com.yxt.anrui.scm.biz.scmtransferrecords; |
|||
|
|||
import com.yxt.anrui.scm.api.scmtransferrecords.ScmTransferRecords; |
|||
import com.yxt.common.base.service.MybatisBaseService; |
|||
import org.springframework.stereotype.Service; |
|||
|
|||
/** |
|||
* @description: |
|||
* @author: dimengzhe |
|||
* @date: 2023/6/5 |
|||
**/ |
|||
@Service |
|||
public class ScmTransferRecordsService extends MybatisBaseService<ScmTransferRecordsMapper, ScmTransferRecords> { |
|||
} |
Loading…
Reference in new issue