新增政治面貌等需求

This commit is contained in:
aoli.qu 2023-10-30 00:07:21 +08:00
parent a65993f8aa
commit d75ccfe889
5 changed files with 20 additions and 5 deletions

View File

@ -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;

View File

@ -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> " +

View File

@ -101,6 +101,11 @@ public class BcPersonService extends BaseEntity {
*/ */
private String certificate; private String certificate;
/**
* 政治面貌 数据字典0060
*/
private Integer politicalOutlook;
/** /**
* 账号名称 * 账号名称
*/ */

View File

@ -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);

View File

@ -20,7 +20,7 @@ public class BcRoomBed extends BaseEntity {
private Long id; private Long id;
/** /**
* 床位名称 * 床位
*/ */
private String name; private String name;