新增政治面貌等需求
This commit is contained in:
parent
a65993f8aa
commit
d75ccfe889
|
@ -79,6 +79,12 @@ public class BcHospitalRecord extends BaseEntity {
|
||||||
@TableField(exist = false)
|
@TableField(exist = false)
|
||||||
private Integer type;
|
private Integer type;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 退房时间类型 1-全部 2-今年
|
||||||
|
*/
|
||||||
|
@TableField(exist = false)
|
||||||
|
private Integer returnType;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 人员名称
|
* 人员名称
|
||||||
*/
|
*/
|
||||||
|
@ -90,7 +96,7 @@ public class BcHospitalRecord extends BaseEntity {
|
||||||
@TableField(exist = false)
|
@TableField(exist = false)
|
||||||
private String roomName;
|
private String roomName;
|
||||||
/**
|
/**
|
||||||
* 床位名称
|
* 床位号
|
||||||
*/
|
*/
|
||||||
@TableField(exist = false)
|
@TableField(exist = false)
|
||||||
private String bedName;
|
private String bedName;
|
||||||
|
|
|
@ -41,8 +41,12 @@ public interface BcHospitalRecordMapper extends BaseMapper<BcHospitalRecord> {
|
||||||
" and a.check_out_time is null " +
|
" and a.check_out_time is null " +
|
||||||
" </when> " +
|
" </when> " +
|
||||||
" <when test=\"type == 2\"> " +
|
" <when test=\"type == 2\"> " +
|
||||||
// " and a.check_out_time is not null " +
|
" and a.check_out_time is not null " +
|
||||||
" and 1 = 1 " +
|
|
||||||
|
" <if test = 'returnType != null and returnType == 2'>" +
|
||||||
|
" and year(a.check_out_time) = year(curdate()) " +
|
||||||
|
" </if>" +
|
||||||
|
|
||||||
" </when> " +
|
" </when> " +
|
||||||
" </choose> " +
|
" </choose> " +
|
||||||
" </if> " +
|
" </if> " +
|
||||||
|
|
|
@ -101,6 +101,11 @@ public class BcPersonService extends BaseEntity {
|
||||||
*/
|
*/
|
||||||
private String certificate;
|
private String certificate;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 政治面貌 数据字典0060
|
||||||
|
*/
|
||||||
|
private Integer politicalOutlook;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 账号名称
|
* 账号名称
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -27,7 +27,7 @@ public interface BcPersonServiceMapper extends BaseMapper<BcPersonService> {
|
||||||
" and phone like concat('%', #{phone}, '%') " +
|
" and phone like concat('%', #{phone}, '%') " +
|
||||||
" </if> " +
|
" </if> " +
|
||||||
|
|
||||||
" order by create_time desc " +
|
" order by create_time " +
|
||||||
"</script>")
|
"</script>")
|
||||||
List<BcPersonService> queryList(BcPersonService person);
|
List<BcPersonService> queryList(BcPersonService person);
|
||||||
|
|
||||||
|
|
|
@ -20,7 +20,7 @@ public class BcRoomBed extends BaseEntity {
|
||||||
private Long id;
|
private Long id;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 床位名称
|
* 床位号
|
||||||
*/
|
*/
|
||||||
private String name;
|
private String name;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue