湖里妇幼初始化 第二次
parent
3e6053c14f
commit
4c530f05d1
@ -1,4 +1,4 @@
|
||||
package com.glxp.mipsdl.client.hlhyxyy.entity;
|
||||
package com.glxp.mipsdl.client.hlfyyy.entity;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||
import lombok.Data;
|
@ -1,4 +1,4 @@
|
||||
package com.glxp.mipsdl.client.hlhyxyy.entity;
|
||||
package com.glxp.mipsdl.client.hlfyyy.entity;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||
import lombok.Data;
|
@ -1,4 +1,4 @@
|
||||
package com.glxp.mipsdl.client.hlhyxyy.entity;
|
||||
package com.glxp.mipsdl.client.hlfyyy.entity;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||
import lombok.Data;
|
@ -1,8 +1,6 @@
|
||||
package com.glxp.mipsdl.entity.hlhyxyy;
|
||||
package com.glxp.mipsdl.entity.hlfyyy;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.IdType;
|
||||
import com.baomidou.mybatisplus.annotation.TableField;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import java.io.Serializable;
|
||||
import lombok.AllArgsConstructor;
|
@ -1,8 +1,6 @@
|
||||
package com.glxp.mipsdl.entity.hlhyxyy;
|
||||
package com.glxp.mipsdl.entity.hlfyyy;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.IdType;
|
||||
import com.baomidou.mybatisplus.annotation.TableField;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import java.io.Serializable;
|
||||
import lombok.AllArgsConstructor;
|
@ -1,8 +1,6 @@
|
||||
package com.glxp.mipsdl.entity.hlhyxyy;
|
||||
package com.glxp.mipsdl.entity.hlfyyy;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.IdType;
|
||||
import com.baomidou.mybatisplus.annotation.TableField;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import java.io.Serializable;
|
||||
import lombok.AllArgsConstructor;
|
@ -1,8 +1,6 @@
|
||||
package com.glxp.mipsdl.entity.hlhyxyy;
|
||||
package com.glxp.mipsdl.entity.hlfyyy;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.IdType;
|
||||
import com.baomidou.mybatisplus.annotation.TableField;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import java.io.Serializable;
|
||||
import lombok.AllArgsConstructor;
|
@ -1,8 +1,6 @@
|
||||
package com.glxp.mipsdl.entity.hlhyxyy;
|
||||
package com.glxp.mipsdl.entity.hlfyyy;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.IdType;
|
||||
import com.baomidou.mybatisplus.annotation.TableField;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import java.io.Serializable;
|
||||
import lombok.AllArgsConstructor;
|
@ -1,8 +1,6 @@
|
||||
package com.glxp.mipsdl.entity.hlhyxyy;
|
||||
package com.glxp.mipsdl.entity.hlfyyy;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.IdType;
|
||||
import com.baomidou.mybatisplus.annotation.TableField;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import java.io.Serializable;
|
||||
import lombok.AllArgsConstructor;
|
@ -1,8 +1,6 @@
|
||||
package com.glxp.mipsdl.entity.hlhyxyy;
|
||||
package com.glxp.mipsdl.entity.hlfyyy;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.IdType;
|
||||
import com.baomidou.mybatisplus.annotation.TableField;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import java.io.Serializable;
|
||||
import lombok.AllArgsConstructor;
|
@ -1,8 +1,6 @@
|
||||
package com.glxp.mipsdl.entity.hlhyxyy;
|
||||
package com.glxp.mipsdl.entity.hlfyyy;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.IdType;
|
||||
import com.baomidou.mybatisplus.annotation.TableField;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import java.io.Serializable;
|
||||
import lombok.AllArgsConstructor;
|
@ -0,0 +1,76 @@
|
||||
package com.glxp.mipsdl.entity.hlfyyy;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.TableField;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import java.io.Serializable;
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Data;
|
||||
import lombok.NoArgsConstructor;
|
||||
|
||||
/**
|
||||
* 药品处方查询-明细
|
||||
*/
|
||||
@Data
|
||||
@AllArgsConstructor
|
||||
@NoArgsConstructor
|
||||
@TableName(value = "v_a010_mx")
|
||||
public class VA010Mx implements Serializable {
|
||||
@TableField(value = "CODEFK")
|
||||
private String codefk;
|
||||
|
||||
@TableField(value = "THRID")
|
||||
private String thrid;
|
||||
|
||||
@TableField(value = "ITEMNAME")
|
||||
private String itemname;
|
||||
|
||||
@TableField(value = "ITEMCODE")
|
||||
private String itemcode;
|
||||
|
||||
@TableField(value = "MEASURECOUNT")
|
||||
private String measurecount;
|
||||
|
||||
@TableField(value = "MEASUREUNIT")
|
||||
private String measureunit;
|
||||
|
||||
@TableField(value = "CATEGORY")
|
||||
private String category;
|
||||
|
||||
@TableField(value = "FREQUENCY")
|
||||
private String frequency;
|
||||
|
||||
@TableField(value = "`COUNT`")
|
||||
private String count;
|
||||
|
||||
@TableField(value = "BZGG")
|
||||
private String bzgg;
|
||||
|
||||
@TableField(value = "PACKUNIT")
|
||||
private String packunit;
|
||||
|
||||
@TableField(value = "PREPNSPEC")
|
||||
private String prepnspec;
|
||||
|
||||
@TableField(value = "PREPNUNIT")
|
||||
private String prepnunit;
|
||||
|
||||
@TableField(value = "MEASNAME")
|
||||
private String measname;
|
||||
|
||||
@TableField(value = "PRICE")
|
||||
private String price;
|
||||
|
||||
@TableField(value = "RETAILPRICE")
|
||||
private String retailprice;
|
||||
|
||||
@TableField(value = "AMOUNT")
|
||||
private String amount;
|
||||
|
||||
@TableField(value = "REMARK")
|
||||
private String remark;
|
||||
|
||||
@TableField(value = "DRUGLIST")
|
||||
private String druglist;
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
}
|
@ -1,8 +1,6 @@
|
||||
package com.glxp.mipsdl.entity.hlhyxyy;
|
||||
package com.glxp.mipsdl.entity.hlfyyy;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.IdType;
|
||||
import com.baomidou.mybatisplus.annotation.TableField;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import java.io.Serializable;
|
||||
import lombok.AllArgsConstructor;
|
@ -1,8 +1,6 @@
|
||||
package com.glxp.mipsdl.entity.hlhyxyy;
|
||||
package com.glxp.mipsdl.entity.hlfyyy;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.IdType;
|
||||
import com.baomidou.mybatisplus.annotation.TableField;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import java.io.Serializable;
|
||||
import lombok.AllArgsConstructor;
|
@ -1,8 +1,6 @@
|
||||
package com.glxp.mipsdl.entity.hlhyxyy;
|
||||
package com.glxp.mipsdl.entity.hlfyyy;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.IdType;
|
||||
import com.baomidou.mybatisplus.annotation.TableField;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import java.io.Serializable;
|
||||
import lombok.AllArgsConstructor;
|
@ -1,8 +1,6 @@
|
||||
package com.glxp.mipsdl.entity.hlhyxyy;
|
||||
package com.glxp.mipsdl.entity.hlfyyy;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.IdType;
|
||||
import com.baomidou.mybatisplus.annotation.TableField;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import java.io.Serializable;
|
||||
import lombok.AllArgsConstructor;
|
@ -1,21 +1,29 @@
|
||||
package com.glxp.mipsdl.req.base;
|
||||
|
||||
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
|
||||
import lombok.Data;
|
||||
|
||||
import javax.validation.constraints.Max;
|
||||
import javax.validation.constraints.Min;
|
||||
|
||||
/**
|
||||
* 接口分页参数
|
||||
*/
|
||||
@Data
|
||||
public class ListPageRequest {
|
||||
|
||||
/**
|
||||
* 页码
|
||||
*/
|
||||
@Min(message = "分页参数错误", value = 1)
|
||||
private Integer page;
|
||||
|
||||
/**
|
||||
* 条数
|
||||
*/
|
||||
|
||||
@Min(value = 1, message = "分页参数不能小于1")
|
||||
@Max(value = 500, message = "分页参数不能大于500")
|
||||
private Integer limit;
|
||||
private String orderBy;
|
||||
private String sort;
|
||||
|
||||
public Page getPageObj() {
|
||||
return new Page(this.page == null ? 1 : this.page, this.limit == null ? 10 : this.limit);
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -1,14 +1,14 @@
|
||||
package com.glxp.mipsdl.service.hlhyxyy;
|
||||
package com.glxp.mipsdl.service.hlfyyy;
|
||||
|
||||
import com.github.pagehelper.PageHelper;
|
||||
import com.glxp.mipsdl.req.base.UdiwmsUnitRequest;
|
||||
import com.glxp.mipsdl.thirddao.hlhyxyy.VA001Mapper;
|
||||
import com.glxp.mipsdl.thirddao.hlfyyy.VA001Mapper;
|
||||
import org.springframework.stereotype.Service;
|
||||
import javax.annotation.Resource;
|
||||
|
||||
import java.util.Collections;
|
||||
import java.util.List;
|
||||
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
|
||||
import com.glxp.mipsdl.entity.hlhyxyy.VA001;
|
||||
import com.glxp.mipsdl.entity.hlfyyy.VA001;
|
||||
@Service
|
||||
public class VA001Service extends ServiceImpl<VA001Mapper, VA001> {
|
||||
public List<VA001> filterList(UdiwmsUnitRequest udiwmsUnitRequest) {
|
@ -1,11 +1,9 @@
|
||||
package com.glxp.mipsdl.service.hlhyxyy;
|
||||
package com.glxp.mipsdl.service.hlfyyy;
|
||||
|
||||
import com.glxp.mipsdl.thirddao.hlhyxyy.VA002Mapper;
|
||||
import com.glxp.mipsdl.thirddao.hlfyyy.VA002Mapper;
|
||||
import org.springframework.stereotype.Service;
|
||||
import javax.annotation.Resource;
|
||||
import java.util.List;
|
||||
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
|
||||
import com.glxp.mipsdl.entity.hlhyxyy.VA002;
|
||||
import com.glxp.mipsdl.entity.hlfyyy.VA002;
|
||||
@Service
|
||||
public class VA002Service extends ServiceImpl<VA002Mapper, VA002> {
|
||||
|
@ -1,11 +1,9 @@
|
||||
package com.glxp.mipsdl.service.hlhyxyy;
|
||||
package com.glxp.mipsdl.service.hlfyyy;
|
||||
|
||||
import com.glxp.mipsdl.thirddao.hlhyxyy.VA003Mapper;
|
||||
import com.glxp.mipsdl.thirddao.hlfyyy.VA003Mapper;
|
||||
import org.springframework.stereotype.Service;
|
||||
import javax.annotation.Resource;
|
||||
import java.util.List;
|
||||
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
|
||||
import com.glxp.mipsdl.entity.hlhyxyy.VA003;
|
||||
import com.glxp.mipsdl.entity.hlfyyy.VA003;
|
||||
@Service
|
||||
public class VA003Service extends ServiceImpl<VA003Mapper, VA003> {
|
||||
|
@ -1,11 +1,9 @@
|
||||
package com.glxp.mipsdl.service.hlhyxyy;
|
||||
package com.glxp.mipsdl.service.hlfyyy;
|
||||
|
||||
import com.glxp.mipsdl.thirddao.hlhyxyy.VA004Mapper;
|
||||
import com.glxp.mipsdl.thirddao.hlfyyy.VA004Mapper;
|
||||
import org.springframework.stereotype.Service;
|
||||
import javax.annotation.Resource;
|
||||
import java.util.List;
|
||||
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
|
||||
import com.glxp.mipsdl.entity.hlhyxyy.VA004;
|
||||
import com.glxp.mipsdl.entity.hlfyyy.VA004;
|
||||
@Service
|
||||
public class VA004Service extends ServiceImpl<VA004Mapper, VA004> {
|
||||
|
@ -1,11 +1,9 @@
|
||||
package com.glxp.mipsdl.service.hlhyxyy;
|
||||
package com.glxp.mipsdl.service.hlfyyy;
|
||||
|
||||
import com.glxp.mipsdl.thirddao.hlhyxyy.VA005Mapper;
|
||||
import com.glxp.mipsdl.thirddao.hlfyyy.VA005Mapper;
|
||||
import org.springframework.stereotype.Service;
|
||||
import javax.annotation.Resource;
|
||||
import java.util.List;
|
||||
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
|
||||
import com.glxp.mipsdl.entity.hlhyxyy.VA005;
|
||||
import com.glxp.mipsdl.entity.hlfyyy.VA005;
|
||||
@Service
|
||||
public class VA005Service extends ServiceImpl<VA005Mapper, VA005> {
|
||||
|
@ -1,11 +1,9 @@
|
||||
package com.glxp.mipsdl.service.hlhyxyy;
|
||||
package com.glxp.mipsdl.service.hlfyyy;
|
||||
|
||||
import com.glxp.mipsdl.thirddao.hlhyxyy.VA006MxMapper;
|
||||
import com.glxp.mipsdl.thirddao.hlfyyy.VA006MxMapper;
|
||||
import org.springframework.stereotype.Service;
|
||||
import javax.annotation.Resource;
|
||||
import java.util.List;
|
||||
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
|
||||
import com.glxp.mipsdl.entity.hlhyxyy.VA006Mx;
|
||||
import com.glxp.mipsdl.entity.hlfyyy.VA006Mx;
|
||||
@Service
|
||||
public class VA006MxService extends ServiceImpl<VA006MxMapper, VA006Mx> {
|
||||
|
@ -1,11 +1,9 @@
|
||||
package com.glxp.mipsdl.service.hlhyxyy;
|
||||
package com.glxp.mipsdl.service.hlfyyy;
|
||||
|
||||
import com.glxp.mipsdl.thirddao.hlhyxyy.VA006Mapper;
|
||||
import com.glxp.mipsdl.thirddao.hlfyyy.VA006Mapper;
|
||||
import org.springframework.stereotype.Service;
|
||||
import javax.annotation.Resource;
|
||||
import java.util.List;
|
||||
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
|
||||
import com.glxp.mipsdl.entity.hlhyxyy.VA006;
|
||||
import com.glxp.mipsdl.entity.hlfyyy.VA006;
|
||||
@Service
|
||||
public class VA006Service extends ServiceImpl<VA006Mapper, VA006> {
|
||||
|
@ -0,0 +1,10 @@
|
||||
package com.glxp.mipsdl.service.hlfyyy;
|
||||
|
||||
import org.springframework.stereotype.Service;
|
||||
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
|
||||
import com.glxp.mipsdl.entity.hlfyyy.VA010Mx;
|
||||
import com.glxp.mipsdl.thirddao.hlfyyy.VA010MxMapper;
|
||||
@Service
|
||||
public class VA010MxService extends ServiceImpl<VA010MxMapper, VA010Mx> {
|
||||
|
||||
}
|
@ -0,0 +1,31 @@
|
||||
package com.glxp.mipsdl.service.hlfyyy;
|
||||
|
||||
import com.baomidou.mybatisplus.core.metadata.IPage;
|
||||
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
|
||||
import com.glxp.mipsdl.req.base.UdiwmsBasicSkPrescribeRequest;
|
||||
import com.glxp.mipsdl.thirddao.hlfyyy.VA010Mapper;
|
||||
import org.springframework.stereotype.Service;
|
||||
import javax.annotation.Resource;
|
||||
|
||||
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
|
||||
import com.glxp.mipsdl.entity.hlfyyy.VA010;
|
||||
@Service
|
||||
public class VA010Service extends ServiceImpl<VA010Mapper, VA010> {
|
||||
@Resource
|
||||
private VA010Mapper va010Mapper;
|
||||
public IPage<VA010> getList(Page page , UdiwmsBasicSkPrescribeRequest udiwmsBasicSkPrescribeRequest){
|
||||
IPage<VA010> iPage = va010Mapper.getList(page,udiwmsBasicSkPrescribeRequest);
|
||||
// List<VA010> list = iPage.getRecords();
|
||||
// List<String> codeList = new ArrayList<>();
|
||||
// if(list!=null && list.size() >0){
|
||||
// for (VA010 va010 : list) {
|
||||
// codeList.add(va010.getCode());
|
||||
// }
|
||||
// List<VA010> listNew = va010Mapper.selectList(new QueryWrapper<VA010>().in("code",codeList).groupBy("code"));
|
||||
// iPage.setRecords(listNew);
|
||||
// }
|
||||
|
||||
return iPage;
|
||||
};
|
||||
|
||||
}
|
@ -1,11 +1,9 @@
|
||||
package com.glxp.mipsdl.service.hlhyxyy;
|
||||
package com.glxp.mipsdl.service.hlfyyy;
|
||||
|
||||
import com.glxp.mipsdl.thirddao.hlhyxyy.VA011MxMapper;
|
||||
import com.glxp.mipsdl.thirddao.hlfyyy.VA011MxMapper;
|
||||
import org.springframework.stereotype.Service;
|
||||
import javax.annotation.Resource;
|
||||
import java.util.List;
|
||||
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
|
||||
import com.glxp.mipsdl.entity.hlhyxyy.VA011Mx;
|
||||
import com.glxp.mipsdl.entity.hlfyyy.VA011Mx;
|
||||
@Service
|
||||
public class VA011MxService extends ServiceImpl<VA011MxMapper, VA011Mx> {
|
||||
|
@ -1,11 +1,9 @@
|
||||
package com.glxp.mipsdl.service.hlhyxyy;
|
||||
package com.glxp.mipsdl.service.hlfyyy;
|
||||
|
||||
import com.glxp.mipsdl.thirddao.hlhyxyy.VA011Mapper;
|
||||
import com.glxp.mipsdl.thirddao.hlfyyy.VA011Mapper;
|
||||
import org.springframework.stereotype.Service;
|
||||
import javax.annotation.Resource;
|
||||
import java.util.List;
|
||||
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
|
||||
import com.glxp.mipsdl.entity.hlhyxyy.VA011;
|
||||
import com.glxp.mipsdl.entity.hlfyyy.VA011;
|
||||
@Service
|
||||
public class VA011Service extends ServiceImpl<VA011Mapper, VA011> {
|
||||
|
@ -1,11 +1,9 @@
|
||||
package com.glxp.mipsdl.service.hlhyxyy;
|
||||
package com.glxp.mipsdl.service.hlfyyy;
|
||||
|
||||
import com.glxp.mipsdl.thirddao.hlhyxyy.VA015MxMapper;
|
||||
import com.glxp.mipsdl.thirddao.hlfyyy.VA015MxMapper;
|
||||
import org.springframework.stereotype.Service;
|
||||
import javax.annotation.Resource;
|
||||
import java.util.List;
|
||||
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
|
||||
import com.glxp.mipsdl.entity.hlhyxyy.VA015Mx;
|
||||
import com.glxp.mipsdl.entity.hlfyyy.VA015Mx;
|
||||
@Service
|
||||
public class VA015MxService extends ServiceImpl<VA015MxMapper, VA015Mx> {
|
||||
|
@ -1,11 +1,9 @@
|
||||
package com.glxp.mipsdl.service.hlhyxyy;
|
||||
package com.glxp.mipsdl.service.hlfyyy;
|
||||
|
||||
import com.glxp.mipsdl.thirddao.hlhyxyy.VA015Mapper;
|
||||
import com.glxp.mipsdl.thirddao.hlfyyy.VA015Mapper;
|
||||
import org.springframework.stereotype.Service;
|
||||
import javax.annotation.Resource;
|
||||
import java.util.List;
|
||||
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
|
||||
import com.glxp.mipsdl.entity.hlhyxyy.VA015;
|
||||
import com.glxp.mipsdl.entity.hlfyyy.VA015;
|
||||
@Service
|
||||
public class VA015Service extends ServiceImpl<VA015Mapper, VA015> {
|
||||
|
@ -1,12 +0,0 @@
|
||||
package com.glxp.mipsdl.service.hlhyxyy;
|
||||
|
||||
import com.glxp.mipsdl.thirddao.hlhyxyy.VA010Mapper;
|
||||
import org.springframework.stereotype.Service;
|
||||
import javax.annotation.Resource;
|
||||
import java.util.List;
|
||||
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
|
||||
import com.glxp.mipsdl.entity.hlhyxyy.VA010;
|
||||
@Service
|
||||
public class VA010Service extends ServiceImpl<VA010Mapper, VA010> {
|
||||
|
||||
}
|
@ -1,13 +1,15 @@
|
||||
package com.glxp.mipsdl.thirddao.hlhyxyy;
|
||||
package com.glxp.mipsdl.thirddao.hlfyyy;
|
||||
|
||||
import com.baomidou.dynamic.datasource.annotation.DS;
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import com.glxp.mipsdl.entity.hlhyxyy.VA001;
|
||||
import com.glxp.mipsdl.entity.hlfyyy.VA001;
|
||||
import com.glxp.mipsdl.req.base.UdiwmsUnitRequest;
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
@Mapper
|
||||
@DS("hlfyyySql")
|
||||
public interface VA001Mapper extends BaseMapper<VA001> {
|
||||
List<VA001> filterList(UdiwmsUnitRequest udiwmsUnitRequest);
|
||||
|
@ -1,9 +1,11 @@
|
||||
package com.glxp.mipsdl.thirddao.hlhyxyy;
|
||||
package com.glxp.mipsdl.thirddao.hlfyyy;
|
||||
|
||||
import com.baomidou.dynamic.datasource.annotation.DS;
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import com.glxp.mipsdl.entity.hlhyxyy.VA002;
|
||||
import com.glxp.mipsdl.entity.hlfyyy.VA002;
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
|
||||
@Mapper
|
||||
@DS("hlfyyySql")
|
||||
public interface VA002Mapper extends BaseMapper<VA002> {
|
||||
}
|
||||
}
|
@ -1,9 +1,11 @@
|
||||
package com.glxp.mipsdl.thirddao.hlhyxyy;
|
||||
package com.glxp.mipsdl.thirddao.hlfyyy;
|
||||
|
||||
import com.baomidou.dynamic.datasource.annotation.DS;
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import com.glxp.mipsdl.entity.hlhyxyy.VA003;
|
||||
import com.glxp.mipsdl.entity.hlfyyy.VA003;
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
|
||||
@Mapper
|
||||
@DS("hlfyyySql")
|
||||
public interface VA003Mapper extends BaseMapper<VA003> {
|
||||
}
|
||||
}
|
@ -1,9 +1,11 @@
|
||||
package com.glxp.mipsdl.thirddao.hlhyxyy;
|
||||
package com.glxp.mipsdl.thirddao.hlfyyy;
|
||||
|
||||
import com.baomidou.dynamic.datasource.annotation.DS;
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import com.glxp.mipsdl.entity.hlhyxyy.VA004;
|
||||
import com.glxp.mipsdl.entity.hlfyyy.VA004;
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
|
||||
@Mapper
|
||||
@DS("hlfyyySql")
|
||||
public interface VA004Mapper extends BaseMapper<VA004> {
|
||||
}
|
||||
}
|
@ -1,9 +1,11 @@
|
||||
package com.glxp.mipsdl.thirddao.hlhyxyy;
|
||||
package com.glxp.mipsdl.thirddao.hlfyyy;
|
||||
|
||||
import com.baomidou.dynamic.datasource.annotation.DS;
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import com.glxp.mipsdl.entity.hlhyxyy.VA005;
|
||||
import com.glxp.mipsdl.entity.hlfyyy.VA005;
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
|
||||
@Mapper
|
||||
@DS("hlfyyySql")
|
||||
public interface VA005Mapper extends BaseMapper<VA005> {
|
||||
}
|
||||
}
|
@ -1,9 +1,11 @@
|
||||
package com.glxp.mipsdl.thirddao.hlhyxyy;
|
||||
package com.glxp.mipsdl.thirddao.hlfyyy;
|
||||
|
||||
import com.baomidou.dynamic.datasource.annotation.DS;
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import com.glxp.mipsdl.entity.hlhyxyy.VA006;
|
||||
import com.glxp.mipsdl.entity.hlfyyy.VA006;
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
|
||||
@Mapper
|
||||
@DS("hlfyyySql")
|
||||
public interface VA006Mapper extends BaseMapper<VA006> {
|
||||
}
|
||||
}
|
@ -1,9 +1,11 @@
|
||||
package com.glxp.mipsdl.thirddao.hlhyxyy;
|
||||
package com.glxp.mipsdl.thirddao.hlfyyy;
|
||||
|
||||
import com.baomidou.dynamic.datasource.annotation.DS;
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import com.glxp.mipsdl.entity.hlhyxyy.VA006Mx;
|
||||
import com.glxp.mipsdl.entity.hlfyyy.VA006Mx;
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
|
||||
@Mapper
|
||||
@DS("hlfyyySql")
|
||||
public interface VA006MxMapper extends BaseMapper<VA006Mx> {
|
||||
}
|
||||
}
|
@ -0,0 +1,16 @@
|
||||
package com.glxp.mipsdl.thirddao.hlfyyy;
|
||||
|
||||
import com.baomidou.dynamic.datasource.annotation.DS;
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import com.baomidou.mybatisplus.core.metadata.IPage;
|
||||
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
|
||||
import com.glxp.mipsdl.entity.hlfyyy.VA010;
|
||||
import com.glxp.mipsdl.req.base.UdiwmsBasicSkPrescribeRequest;
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
|
||||
@Mapper
|
||||
@DS("hlfyyySql")
|
||||
public interface VA010Mapper extends BaseMapper<VA010> {
|
||||
IPage<VA010> getList(Page page, @Param("req") UdiwmsBasicSkPrescribeRequest udiwmsBasicSkPrescribeRequest);
|
||||
}
|
@ -0,0 +1,11 @@
|
||||
package com.glxp.mipsdl.thirddao.hlfyyy;
|
||||
|
||||
import com.baomidou.dynamic.datasource.annotation.DS;
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import com.glxp.mipsdl.entity.hlfyyy.VA010Mx;
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
|
||||
@Mapper
|
||||
@DS("hlfyyySql")
|
||||
public interface VA010MxMapper extends BaseMapper<VA010Mx> {
|
||||
}
|
@ -1,9 +1,11 @@
|
||||
package com.glxp.mipsdl.thirddao.hlhyxyy;
|
||||
package com.glxp.mipsdl.thirddao.hlfyyy;
|
||||
|
||||
import com.baomidou.dynamic.datasource.annotation.DS;
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import com.glxp.mipsdl.entity.hlhyxyy.VA011;
|
||||
import com.glxp.mipsdl.entity.hlfyyy.VA011;
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
|
||||
@Mapper
|
||||
@DS("hlfyyySql")
|
||||
public interface VA011Mapper extends BaseMapper<VA011> {
|
||||
}
|
||||
}
|
@ -1,9 +1,11 @@
|
||||
package com.glxp.mipsdl.thirddao.hlhyxyy;
|
||||
package com.glxp.mipsdl.thirddao.hlfyyy;
|
||||
|
||||
import com.baomidou.dynamic.datasource.annotation.DS;
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import com.glxp.mipsdl.entity.hlhyxyy.VA011Mx;
|
||||
import com.glxp.mipsdl.entity.hlfyyy.VA011Mx;
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
|
||||
@Mapper
|
||||
@DS("hlfyyySql")
|
||||
public interface VA011MxMapper extends BaseMapper<VA011Mx> {
|
||||
}
|
||||
}
|
@ -1,9 +1,11 @@
|
||||
package com.glxp.mipsdl.thirddao.hlhyxyy;
|
||||
package com.glxp.mipsdl.thirddao.hlfyyy;
|
||||
|
||||
import com.baomidou.dynamic.datasource.annotation.DS;
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import com.glxp.mipsdl.entity.hlhyxyy.VA015;
|
||||
import com.glxp.mipsdl.entity.hlfyyy.VA015;
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
|
||||
@Mapper
|
||||
@DS("hlfyyySql")
|
||||
public interface VA015Mapper extends BaseMapper<VA015> {
|
||||
}
|
||||
}
|
@ -1,9 +1,11 @@
|
||||
package com.glxp.mipsdl.thirddao.hlhyxyy;
|
||||
package com.glxp.mipsdl.thirddao.hlfyyy;
|
||||
|
||||
import com.baomidou.dynamic.datasource.annotation.DS;
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import com.glxp.mipsdl.entity.hlhyxyy.VA015Mx;
|
||||
import com.glxp.mipsdl.entity.hlfyyy.VA015Mx;
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
|
||||
@Mapper
|
||||
@DS("hlfyyySql")
|
||||
public interface VA015MxMapper extends BaseMapper<VA015Mx> {
|
||||
}
|
||||
}
|
@ -1,9 +0,0 @@
|
||||
package com.glxp.mipsdl.thirddao.hlhyxyy;
|
||||
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import com.glxp.mipsdl.entity.hlhyxyy.VA010;
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
|
||||
@Mapper
|
||||
public interface VA010Mapper extends BaseMapper<VA010> {
|
||||
}
|
@ -0,0 +1,67 @@
|
||||
<?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.mipsdl.thirddao.hlfyyy.VA010Mapper">
|
||||
<resultMap id="BaseResultMap" type="com.glxp.mipsdl.entity.hlfyyy.VA010">
|
||||
<!--@mbg.generated-->
|
||||
<!--@Table v_a010-->
|
||||
<result column="CODE" jdbcType="VARCHAR" property="CODE"/>
|
||||
<result column="SICKCODE" jdbcType="VARCHAR" property="SICKCODE"/>
|
||||
<result column="SICKNAME" jdbcType="VARCHAR" property="SICKNAME"/>
|
||||
<result column="PRESCRIBEDATE" jdbcType="VARCHAR" property="PRESCRIBEDATE"/>
|
||||
<result column="CREATEDR" jdbcType="VARCHAR" property="CREATEDR"/>
|
||||
<result column="AMOUNT" jdbcType="VARCHAR" property="AMOUNT"/>
|
||||
<result column="DEPTCODE" jdbcType="VARCHAR" property="DEPTCODE"/>
|
||||
<result column="DEPTNAME" jdbcType="VARCHAR" property="DEPTNAME"/>
|
||||
<result column="DIAGNOSIS" jdbcType="VARCHAR" property="DIAGNOSIS"/>
|
||||
<result column="REMARK" jdbcType="VARCHAR" property="REMARK"/>
|
||||
</resultMap>
|
||||
<sql id="Base_Column_List">
|
||||
<!--@mbg.generated-->
|
||||
CODE, SICKCODE, SICKNAME, PRESCRIBEDATE, CREATEDR, AMOUNT, DEPTCODE, DEPTNAME, DIAGNOSIS,
|
||||
REMARK
|
||||
</sql>
|
||||
<select id="getList" resultType="com.glxp.mipsdl.entity.hlfyyy.VA010">
|
||||
select
|
||||
<include refid="Base_Column_List">
|
||||
</include>
|
||||
from v_a010 WHERE 1=1
|
||||
<if test="req.databaseProductName == 'MySQL'">
|
||||
<if test="req.startTime != '' and req.startTime != null and req.endTime != '' and req.endTime != null">
|
||||
AND STR_TO_DATE(PRESCRIBEDATE, '%e/%c/%Y %H:%i:%s') >= #{req.startTime} AND STR_TO_DATE(PRESCRIBEDATE, '%e/%c/%Y %H:%i:%s') < #{req.endTime}
|
||||
</if>
|
||||
<if test="req.code != '' and req.code != null">
|
||||
AND CODE = #{req.code}
|
||||
</if>
|
||||
<if test="req.fromCorpName != '' and req.fromCorpName != null">
|
||||
AND DEPTNAME = #{req.fromCorpName}
|
||||
</if>
|
||||
<if test="req.key != '' and req.key != null">
|
||||
AND CODE like concat('%', #{req.key}, '%')
|
||||
or DEPTNAME like concat('%', #{req.key}, '%')
|
||||
<!-- or STR_TO_DATE(PRESCRIBEDATE, '%e/%c/%Y %H:%i:%s') = #{req.key}-->
|
||||
</if>
|
||||
group by CODE
|
||||
order by STR_TO_DATE(PRESCRIBEDATE, '%e/%c/%Y %H:%i:%s') desc
|
||||
</if>
|
||||
<if test="req.databaseProductName == 'Oracle'">
|
||||
<if test="req.startTime != '' and req.startTime != null and req.endTime != '' and req.endTime != null">
|
||||
AND TO_DATE(PRESCRIBEDATE, 'dd/MM/yyyy HH:mm:ss') >= #{req.startTime} AND TO_DATE(PRESCRIBEDATE, 'dd/MM/yyyy HH:mm:ss') < #{req.endTime}
|
||||
|
||||
</if>
|
||||
<if test="req.code != '' and req.code != null">
|
||||
AND CODE = #{req.code}
|
||||
</if>
|
||||
<if test="req.fromCorpName != '' and req.fromCorpName != null">
|
||||
AND DEPTNAME = #{req.fromCorpName}
|
||||
</if>
|
||||
<if test="req.key != '' and req.key != null">
|
||||
AND CODE like '%' || #{req.key} || '%'
|
||||
or DEPTNAME '%' || #{req.key} || '%'
|
||||
<!-- or TO_DATE(PRESCRIBEDATE, 'dd/MM/yyyy HH:mm:ss') = #{req.key}-->
|
||||
</if>
|
||||
group by CODE
|
||||
order by TO_DATE(PRESCRIBEDATE, 'dd/MM/yyyy HH:mm:ss') desc
|
||||
|
||||
</if>
|
||||
</select>
|
||||
</mapper>
|
@ -0,0 +1,33 @@
|
||||
<?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.mipsdl.thirddao.hlfyyy.VA010MxMapper">
|
||||
<resultMap id="BaseResultMap" type="com.glxp.mipsdl.entity.hlfyyy.VA010Mx">
|
||||
<!--@mbg.generated-->
|
||||
<!--@Table v_a010_mx-->
|
||||
<result column="CODEFK" jdbcType="VARCHAR" property="CODEFK" />
|
||||
<result column="THRID" jdbcType="VARCHAR" property="THRID" />
|
||||
<result column="ITEMNAME" jdbcType="VARCHAR" property="ITEMNAME" />
|
||||
<result column="ITEMCODE" jdbcType="VARCHAR" property="ITEMCODE" />
|
||||
<result column="MEASURECOUNT" jdbcType="VARCHAR" property="MEASURECOUNT" />
|
||||
<result column="MEASUREUNIT" jdbcType="VARCHAR" property="MEASUREUNIT" />
|
||||
<result column="CATEGORY" jdbcType="VARCHAR" property="CATEGORY" />
|
||||
<result column="FREQUENCY" jdbcType="VARCHAR" property="FREQUENCY" />
|
||||
<result column="COUNT" jdbcType="VARCHAR" property="COUNT" />
|
||||
<result column="BZGG" jdbcType="VARCHAR" property="BZGG" />
|
||||
<result column="PACKUNIT" jdbcType="VARCHAR" property="PACKUNIT" />
|
||||
<result column="PREPNSPEC" jdbcType="VARCHAR" property="PREPNSPEC" />
|
||||
<result column="PREPNUNIT" jdbcType="VARCHAR" property="PREPNUNIT" />
|
||||
<result column="MEASNAME" jdbcType="VARCHAR" property="MEASNAME" />
|
||||
<result column="PRICE" jdbcType="VARCHAR" property="PRICE" />
|
||||
<result column="RETAILPRICE" jdbcType="VARCHAR" property="RETAILPRICE" />
|
||||
<result column="AMOUNT" jdbcType="VARCHAR" property="AMOUNT" />
|
||||
<result column="REMARK" jdbcType="VARCHAR" property="REMARK" />
|
||||
<result column="DRUGLIST" jdbcType="VARCHAR" property="DRUGLIST" />
|
||||
</resultMap>
|
||||
<sql id="Base_Column_List">
|
||||
<!--@mbg.generated-->
|
||||
CODEFK, THRID, ITEMNAME, ITEMCODE, MEASURECOUNT, MEASUREUNIT, CATEGORY, FREQUENCY,
|
||||
`COUNT`, BZGG, PACKUNIT, PREPNSPEC, PREPNUNIT, MEASNAME, PRICE, RETAILPRICE, AMOUNT,
|
||||
REMARK, DRUGLIST
|
||||
</sql>
|
||||
</mapper>
|
@ -1,23 +0,0 @@
|
||||
<?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.mipsdl.thirddao.hlhyxyy.VA010Mapper">
|
||||
<resultMap id="BaseResultMap" type="com.glxp.mipsdl.entity.hlhyxyy.VA010">
|
||||
<!--@mbg.generated-->
|
||||
<!--@Table v_a010-->
|
||||
<result column="CODE" jdbcType="VARCHAR" property="CODE" />
|
||||
<result column="SICKCODE" jdbcType="VARCHAR" property="SICKCODE" />
|
||||
<result column="SICKNAME" jdbcType="VARCHAR" property="SICKNAME" />
|
||||
<result column="PRESCRIBEDATE" jdbcType="VARCHAR" property="PRESCRIBEDATE" />
|
||||
<result column="CREATEDR" jdbcType="VARCHAR" property="CREATEDR" />
|
||||
<result column="AMOUNT" jdbcType="VARCHAR" property="AMOUNT" />
|
||||
<result column="DEPTCODE" jdbcType="VARCHAR" property="DEPTCODE" />
|
||||
<result column="DEPTNAME" jdbcType="VARCHAR" property="DEPTNAME" />
|
||||
<result column="DIAGNOSIS" jdbcType="VARCHAR" property="DIAGNOSIS" />
|
||||
<result column="REMARK" jdbcType="VARCHAR" property="REMARK" />
|
||||
</resultMap>
|
||||
<sql id="Base_Column_List">
|
||||
<!--@mbg.generated-->
|
||||
CODE, SICKCODE, SICKNAME, PRESCRIBEDATE, CREATEDR, AMOUNT, DEPTCODE, DEPTNAME, DIAGNOSIS,
|
||||
REMARK
|
||||
</sql>
|
||||
</mapper>
|
Loading…
Reference in New Issue