
8 changed files with 167 additions and 5 deletions
@ -0,0 +1,45 @@ |
|||||
|
package com.yxt.anrui.scm.api.scmtransferrecords; |
||||
|
|
||||
|
import com.yxt.common.core.dto.Dto; |
||||
|
import io.swagger.annotations.ApiModelProperty; |
||||
|
import lombok.Data; |
||||
|
|
||||
|
import java.util.List; |
||||
|
|
||||
|
/** |
||||
|
* @description: |
||||
|
* @author: dimengzhe |
||||
|
* @date: 2023/6/5 |
||||
|
**/ |
||||
|
@Data |
||||
|
public class ScmTransferRecordsDto implements Dto { |
||||
|
private static final long serialVersionUID = 4444291069272893613L; |
||||
|
@ApiModelProperty("合同编号") |
||||
|
private String contractNo; |
||||
|
@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(userSid)") |
||||
|
private String transferSid; |
||||
|
@ApiModelProperty("移交人") |
||||
|
private String transferName; |
||||
|
@ApiModelProperty("移交部门sid") |
||||
|
private String transferDeptSid; |
||||
|
@ApiModelProperty("移交备注") |
||||
|
private String transferDept; |
||||
|
@ApiModelProperty("移交附件") |
||||
|
private List<String> transferFiles; |
||||
|
@ApiModelProperty("使用组织sid") |
||||
|
private String useOrgSid; |
||||
|
@ApiModelProperty("使用组织名称") |
||||
|
private String useOrgName; |
||||
|
} |
@ -0,0 +1,23 @@ |
|||||
|
package com.yxt.anrui.scm.api.scmtransferrecords; |
||||
|
|
||||
|
import com.yxt.common.core.query.Query; |
||||
|
import io.swagger.annotations.ApiModelProperty; |
||||
|
import lombok.Data; |
||||
|
|
||||
|
/** |
||||
|
* @description: |
||||
|
* @author: dimengzhe |
||||
|
* @date: 2023/6/5 |
||||
|
**/ |
||||
|
@Data |
||||
|
public class ScmTransferRecordsQuery implements Query { |
||||
|
private static final long serialVersionUID = 1398412884121486811L; |
||||
|
|
||||
|
private String menuUrl; |
||||
|
|
||||
|
private String userSid; |
||||
|
|
||||
|
private String orgPath; |
||||
|
@ApiModelProperty("类型:0待接收,1已接收") |
||||
|
private int type; |
||||
|
} |
@ -1,4 +1,17 @@ |
|||||
<?xml version="1.0" encoding="UTF-8" ?> |
<?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"> |
<!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 namespace="com.yxt.anrui.scm.biz.scmtransferrecords.ScmTransferRecordsMapper"> |
||||
|
<select id="pagerList" resultType="com.yxt.anrui.scm.api.scmtransferrecords.ScmTransferRecordsVo"> |
||||
|
select sid, |
||||
|
contractNo, |
||||
|
vinNo, |
||||
|
transferDept, |
||||
|
transferName, |
||||
|
transferRemarks, |
||||
|
DATE_FORMAT(createTime, '%Y-%m-%d') |
||||
|
from scm_transfer_records |
||||
|
<where> |
||||
|
${ew.sqlSegment} |
||||
|
</where> |
||||
|
</select> |
||||
</mapper> |
</mapper> |
Loading…
Reference in new issue