feat: 大田县医院初始化
parent
6474f6887e
commit
c75a62e6df
@ -0,0 +1,58 @@
|
||||
package com.glxp.mipsdl.client.ptxhyy.entity;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.IdType;
|
||||
import com.baomidou.mybatisplus.annotation.TableField;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.math.BigDecimal;
|
||||
import java.util.Date;
|
||||
|
||||
@Data
|
||||
public class DeviceBusinessProject {
|
||||
|
||||
/**
|
||||
* 收费时间
|
||||
*/
|
||||
@TableField(value = "chargTime")
|
||||
private Date chargTime;
|
||||
|
||||
/**
|
||||
* 收费项目
|
||||
*/
|
||||
@TableField(value = "sfxm")
|
||||
private String sfxm;
|
||||
|
||||
/**
|
||||
* 收费名称
|
||||
*/
|
||||
@TableField(value = "sfmc")
|
||||
private String sfmc;
|
||||
|
||||
/**
|
||||
* 收费金额
|
||||
*/
|
||||
@TableField(value = "je")
|
||||
private BigDecimal je;
|
||||
|
||||
/**
|
||||
* 收费mz
|
||||
*/
|
||||
@TableField(value = "sfmz")
|
||||
private String sfmz;
|
||||
|
||||
/**
|
||||
* 当前部门编码
|
||||
*/
|
||||
@TableField(value = "deptCode")
|
||||
private String deptCode;
|
||||
|
||||
/**
|
||||
* 当前部门编码
|
||||
*/
|
||||
@TableField(value = "deptName")
|
||||
private String deptName;
|
||||
|
||||
|
||||
}
|
@ -0,0 +1,18 @@
|
||||
package com.glxp.mipsdl.thirddao.dtxyy;
|
||||
|
||||
import com.baomidou.dynamic.datasource.annotation.DS;
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import com.glxp.mipsdl.client.ptxhyy.entity.DeviceBusinessProject;
|
||||
import com.glxp.mipsdl.entity.thrsys.ThrCorpEntity;
|
||||
import com.glxp.mipsdl.req.base.UdiwmsUnitRequest;
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
@Mapper
|
||||
@DS("dtxyysql")
|
||||
public interface DeviceBusinessProjectMapper extends BaseMapper<DeviceBusinessProject> {
|
||||
|
||||
List<DeviceBusinessProject> selectList(DeviceBusinessProject deviceBusinessProject);
|
||||
|
||||
}
|
@ -0,0 +1,20 @@
|
||||
<?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.dtxyy.DeviceBusinessProjectMapper">
|
||||
|
||||
<select id="selectList" resultType="com.glxp.mipsdl.client.ptxhyy.entity.DeviceBusinessProject">
|
||||
select rq AS chargTime,sfxm,sfmc,je.sfmz
|
||||
from udi_sbfybb
|
||||
<where>
|
||||
<if test="sfxm != null and sfxm != ''">
|
||||
AND sfxm = #{sfxm}
|
||||
</if>
|
||||
<if test="chargTime != null">
|
||||
AND CONVERT(DATE, rq) = CONVERT(DATE, #{chargTime}, 120)
|
||||
</if>
|
||||
</where>
|
||||
order by CONVERT(DATETIME, rq, 120) desc
|
||||
</select>
|
||||
|
||||
|
||||
</mapper>
|
Loading…
Reference in New Issue