Merge remote-tracking branch 'origin/master' into ww
commit
51dfd9519a
@ -0,0 +1,13 @@
|
|||||||
|
package com.glxp.api.controller.inout;
|
||||||
|
|
||||||
|
import org.springframework.web.bind.annotation.RestController;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 单据扫码明细查询接口
|
||||||
|
*/
|
||||||
|
@RestController
|
||||||
|
public class IoOrderDetailResultController {
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
}
|
@ -1,8 +1,20 @@
|
|||||||
package com.glxp.api.dao.inout;
|
package com.glxp.api.dao.inout;
|
||||||
|
|
||||||
import com.glxp.api.dao.BaseMapperPlus;
|
import com.glxp.api.dao.BaseMapperPlus;
|
||||||
import com.glxp.api.entity.inout.IoOrderDetailBizEntity;
|
|
||||||
import com.glxp.api.entity.inout.IoOrderDetailResultEntity;
|
import com.glxp.api.entity.inout.IoOrderDetailResultEntity;
|
||||||
|
import com.glxp.api.req.inout.FilterOrderDetailResultRequest;
|
||||||
|
import com.glxp.api.res.inout.IoOrderDetailResultResponse;
|
||||||
|
|
||||||
|
import java.util.List;
|
||||||
|
|
||||||
public interface IoOrderDetailResultDao extends BaseMapperPlus<IoOrderDetailBizDao, IoOrderDetailResultEntity, IoOrderDetailResultEntity> {
|
public interface IoOrderDetailResultDao extends BaseMapperPlus<IoOrderDetailBizDao, IoOrderDetailResultEntity, IoOrderDetailResultEntity> {
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 查询单据扫码明细VO列表
|
||||||
|
*
|
||||||
|
* @param orderDetailResultRequest
|
||||||
|
* @return
|
||||||
|
*/
|
||||||
|
List<IoOrderDetailResultResponse> filterList(FilterOrderDetailResultRequest orderDetailResultRequest);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -1,10 +0,0 @@
|
|||||||
package com.glxp.api.req.inout;
|
|
||||||
|
|
||||||
import lombok.Data;
|
|
||||||
|
|
||||||
@Data
|
|
||||||
public class FilterOrderBizRequest {
|
|
||||||
|
|
||||||
private Long relId;
|
|
||||||
private String batchNo;
|
|
||||||
}
|
|
@ -0,0 +1,25 @@
|
|||||||
|
package com.glxp.api.req.inout;
|
||||||
|
|
||||||
|
import lombok.Data;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 单据业务详情查询参数
|
||||||
|
*/
|
||||||
|
@Data
|
||||||
|
public class FilterOrderDetailBizRequest {
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 耗材字典产品ID
|
||||||
|
*/
|
||||||
|
private Long relId;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 批次号
|
||||||
|
*/
|
||||||
|
private String batchNo;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 单据号
|
||||||
|
*/
|
||||||
|
private String orderIdFk;
|
||||||
|
}
|
@ -0,0 +1,37 @@
|
|||||||
|
package com.glxp.api.req.inout;
|
||||||
|
|
||||||
|
import com.glxp.api.util.page.ListPageRequest;
|
||||||
|
import lombok.Data;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 单据扫码详情查询参数
|
||||||
|
*/
|
||||||
|
@Data
|
||||||
|
public class FilterOrderDetailCodeRequest extends ListPageRequest {
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 单据号
|
||||||
|
*/
|
||||||
|
private String orderIdFk;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 耗材字典ID
|
||||||
|
*/
|
||||||
|
private String relIdFk;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* DI标识
|
||||||
|
*/
|
||||||
|
private String nameCode;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 批次号
|
||||||
|
*/
|
||||||
|
private String batchNo;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* DI信息UUID外键
|
||||||
|
*/
|
||||||
|
private String uuidFk;
|
||||||
|
|
||||||
|
}
|
@ -1,10 +0,0 @@
|
|||||||
package com.glxp.api.req.inout;
|
|
||||||
|
|
||||||
import lombok.Data;
|
|
||||||
|
|
||||||
/**
|
|
||||||
*
|
|
||||||
*/
|
|
||||||
@Data
|
|
||||||
public class FilterOrderDetailRequest {
|
|
||||||
}
|
|
@ -0,0 +1,31 @@
|
|||||||
|
package com.glxp.api.req.inout;
|
||||||
|
|
||||||
|
import lombok.Data;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 单据扫码明细查询参数
|
||||||
|
*/
|
||||||
|
@Data
|
||||||
|
public class FilterOrderDetailResultRequest {
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 单据号
|
||||||
|
*/
|
||||||
|
private String orderIdFk;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 耗材字典ID
|
||||||
|
*/
|
||||||
|
private String relIdFk;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* DI标识
|
||||||
|
*/
|
||||||
|
private String nameCode;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 批次号
|
||||||
|
*/
|
||||||
|
private String batchNo;
|
||||||
|
|
||||||
|
}
|
@ -0,0 +1,158 @@
|
|||||||
|
package com.glxp.api.res.inout;
|
||||||
|
|
||||||
|
import lombok.Data;
|
||||||
|
|
||||||
|
import java.math.BigDecimal;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 单据详情VO
|
||||||
|
*/
|
||||||
|
@Data
|
||||||
|
public class IoOrderDetailCodeResponse {
|
||||||
|
|
||||||
|
private Integer id;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 订单号外键
|
||||||
|
*/
|
||||||
|
private String orderIdFk;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 耗材字典ID外键
|
||||||
|
*/
|
||||||
|
private Long bindRlFk;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* DI信息UUID外键
|
||||||
|
*/
|
||||||
|
private String uuidFk;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* DI
|
||||||
|
*/
|
||||||
|
private String nameCode;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 批次号
|
||||||
|
*/
|
||||||
|
private String batchNo;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 生产日期
|
||||||
|
*/
|
||||||
|
private String productDate;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 失效日期
|
||||||
|
*/
|
||||||
|
private String expireDate;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 产品通用名称
|
||||||
|
*/
|
||||||
|
private String coName;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 注册证号
|
||||||
|
*/
|
||||||
|
private String certCode;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 医疗器械注册备案证号
|
||||||
|
*/
|
||||||
|
private String ylqxzcrbarmc;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 生产企业
|
||||||
|
*/
|
||||||
|
private String manufacturer;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 计量单位
|
||||||
|
*/
|
||||||
|
private String measname;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 规格型号
|
||||||
|
*/
|
||||||
|
private String spec;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 价格
|
||||||
|
*/
|
||||||
|
private BigDecimal price;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 销售清单号
|
||||||
|
*/
|
||||||
|
private String secSalesListNo;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 发票第一票
|
||||||
|
*/
|
||||||
|
private String firstSalesInvNo;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 发票第二票
|
||||||
|
*/
|
||||||
|
private String secSalesInvNo;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 发票有效期
|
||||||
|
*/
|
||||||
|
private String invoiceDate;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 供应商ID外键
|
||||||
|
*/
|
||||||
|
private String supId;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 绑定供应商状态
|
||||||
|
*/
|
||||||
|
private String bindSupStatus;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 单据数量
|
||||||
|
*/
|
||||||
|
private Integer count;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 扫码数量
|
||||||
|
*/
|
||||||
|
private Integer reCount;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 备注
|
||||||
|
*/
|
||||||
|
private String remark;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 扩展字段1
|
||||||
|
*/
|
||||||
|
private String remark1;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 扩展字段2
|
||||||
|
*/
|
||||||
|
private String remark2;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 扩展字段3
|
||||||
|
*/
|
||||||
|
private String remark3;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 扩展字段4
|
||||||
|
*/
|
||||||
|
private String remark4;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 扩展字段5
|
||||||
|
*/
|
||||||
|
private String remark5;
|
||||||
|
|
||||||
|
private boolean checkSuccess;
|
||||||
|
|
||||||
|
|
||||||
|
}
|
@ -1,11 +0,0 @@
|
|||||||
package com.glxp.api.res.inout;
|
|
||||||
|
|
||||||
import lombok.Data;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* 单据详情VO
|
|
||||||
*/
|
|
||||||
@Data
|
|
||||||
public class IoOrderDetailResponse {
|
|
||||||
|
|
||||||
}
|
|
@ -0,0 +1,19 @@
|
|||||||
|
<?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.glxp.api.dao.inout.IoOrderDetailBizDao">
|
||||||
|
|
||||||
|
<select id="filterList" resultType="com.glxp.api.res.inout.IoOrderDetailBizResponse">
|
||||||
|
select * from io_order_detail_biz
|
||||||
|
<where>
|
||||||
|
<if test="orderIdFk != null and orderIdFk != ''">
|
||||||
|
AND orderIdFk = #{orderIdFk}
|
||||||
|
</if>
|
||||||
|
<if test="relId != null">
|
||||||
|
AND bindRlFk = #{relId}
|
||||||
|
</if>
|
||||||
|
<if test="batchNo != null and batchNo != ''">
|
||||||
|
AND batchNo = #{batchNo}
|
||||||
|
</if>
|
||||||
|
</where>
|
||||||
|
</select>
|
||||||
|
</mapper>
|
@ -0,0 +1,25 @@
|
|||||||
|
<?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.glxp.api.dao.inout.IoOrderDetailCodeDao">
|
||||||
|
|
||||||
|
<select id="filterList" resultType="com.glxp.api.res.inout.IoOrderDetailCodeResponse">
|
||||||
|
select * from io_order_detail_code
|
||||||
|
<where>
|
||||||
|
<if test="orderIdFk != null and orderIdFk != ''">
|
||||||
|
AND orderIdFk = #{orderIdFk}
|
||||||
|
</if>
|
||||||
|
<if test="relIdFk != null and relIdFk != ''">
|
||||||
|
AND bindRlFk = #{relIdFk}
|
||||||
|
</if>
|
||||||
|
<if test="nameCode != null and nameCode != ''">
|
||||||
|
AND nameCode = #{nameCode}
|
||||||
|
</if>
|
||||||
|
<if test="batchNo != null and batchNo != ''">
|
||||||
|
AND batchNo = #{batchNo}
|
||||||
|
</if>
|
||||||
|
<if test="uuidFk != null and uuidFk != ''">
|
||||||
|
AND uuidFk = #{uuidFk}
|
||||||
|
</if>
|
||||||
|
</where>
|
||||||
|
</select>
|
||||||
|
</mapper>
|
@ -0,0 +1,22 @@
|
|||||||
|
<?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.glxp.api.dao.inout.IoOrderDetailResultDao">
|
||||||
|
|
||||||
|
<select id="filterList" resultType="com.glxp.api.res.inout.IoOrderDetailResultResponse">
|
||||||
|
select * from io_order_detail_result
|
||||||
|
<where>
|
||||||
|
<if test="orderIdFk != null and orderIdFk != ''">
|
||||||
|
AND orderIdFk = #{orderIdFk}
|
||||||
|
</if>
|
||||||
|
<if test="nameCode != null and nameCode != ''">
|
||||||
|
AND nameCode = #{nameCode}
|
||||||
|
</if>
|
||||||
|
<if test="batchNo != null and batchNo != ''">
|
||||||
|
AND batchNo = #{batchNo}
|
||||||
|
</if>
|
||||||
|
<if test="relIdFk != null and relIdFk != ''">
|
||||||
|
AND bindRlFk = #{relIdFk}
|
||||||
|
</if>
|
||||||
|
</where>
|
||||||
|
</select>
|
||||||
|
</mapper>
|
Loading…
Reference in New Issue