Browse Source

fix:[资源库管理]列表返回归档申请人

master
15881625488@163.com 2 months ago
parent
commit
b18ee20d91
8 changed files with 45 additions and 4 deletions
  1. +10
    -0
      hxhq-modules/hxhq-system/src/main/java/com/hxhq/business/dto/gyzj/FfjlListDto.java
  2. +11
    -0
      hxhq-modules/hxhq-system/src/main/java/com/hxhq/business/dto/gyzj/ListDto.java
  3. +10
    -0
      hxhq-modules/hxhq-system/src/main/java/com/hxhq/business/dto/mjy/FfjlListDto.java
  4. +10
    -0
      hxhq-modules/hxhq-system/src/main/java/com/hxhq/business/dto/mjy/ListDto.java
  5. +1
    -1
      hxhq-modules/hxhq-system/src/main/resources/mapper/business/GyzjFfjlMapper.xml
  6. +1
    -1
      hxhq-modules/hxhq-system/src/main/resources/mapper/business/GyzjMapper.xml
  7. +1
    -1
      hxhq-modules/hxhq-system/src/main/resources/mapper/business/MjyFfjlMapper.xml
  8. +1
    -1
      hxhq-modules/hxhq-system/src/main/resources/mapper/business/MjyMapper.xml

+ 10
- 0
hxhq-modules/hxhq-system/src/main/java/com/hxhq/business/dto/gyzj/FfjlListDto.java View File

@ -91,6 +91,16 @@ public class FfjlListDto {
@JsonFormat(pattern = "yyyy-MM-dd") @JsonFormat(pattern = "yyyy-MM-dd")
private Date jyjsrq; private Date jyjsrq;
/** 归档申请人id */
private Long gdsqrId;
public Long getGdsqrId() {
return gdsqrId;
}
public void setGdsqrId(Long gdsqrId) {
this.gdsqrId = gdsqrId;
}
public Date getJyksrq() { public Date getJyksrq() {
return jyksrq; return jyksrq;
} }

+ 11
- 0
hxhq-modules/hxhq-system/src/main/java/com/hxhq/business/dto/gyzj/ListDto.java View File

@ -111,6 +111,17 @@ public class ListDto {
/** 所属试验 */ /** 所属试验 */
private String studyMc; private String studyMc;
/** 归档申请人id */
private Long gdsqrId;
public Long getGdsqrId() {
return gdsqrId;
}
public void setGdsqrId(Long gdsqrId) {
this.gdsqrId = gdsqrId;
}
public String getStudyMc() { public String getStudyMc() {
return studyMc; return studyMc;
} }

+ 10
- 0
hxhq-modules/hxhq-system/src/main/java/com/hxhq/business/dto/mjy/FfjlListDto.java View File

@ -103,6 +103,16 @@ public class FfjlListDto {
@JsonFormat(pattern = "yyyy-MM-dd") @JsonFormat(pattern = "yyyy-MM-dd")
private Date jyjsrq; private Date jyjsrq;
/** 归档申请人id */
private Long gdsqrId;
public Long getGdsqrId() {
return gdsqrId;
}
public void setGdsqrId(Long gdsqrId) {
this.gdsqrId = gdsqrId;
}
public Date getJyksrq() { public Date getJyksrq() {
return jyksrq; return jyksrq;
} }

+ 10
- 0
hxhq-modules/hxhq-system/src/main/java/com/hxhq/business/dto/mjy/ListDto.java View File

@ -106,6 +106,16 @@ public class ListDto {
/** 试验归还状态:1:未归还;10:已归还*/ /** 试验归还状态:1:未归还;10:已归还*/
private Integer syghzt; private Integer syghzt;
/** 归档申请人id */
private Long gdsqrId;
public Long getGdsqrId() {
return gdsqrId;
}
public void setGdsqrId(Long gdsqrId) {
this.gdsqrId = gdsqrId;
}
public Integer getCczt() { public Integer getCczt() {
return cczt; return cczt;
} }

+ 1
- 1
hxhq-modules/hxhq-system/src/main/resources/mapper/business/GyzjFfjlMapper.xml View File

@ -5,7 +5,7 @@
<mapper namespace="com.hxhq.business.mapper.GyzjFfjlMapper"> <mapper namespace="com.hxhq.business.mapper.GyzjFfjlMapper">
<select id="queryList" resultType="com.hxhq.business.dto.gyzj.FfjlListDto"> <select id="queryList" resultType="com.hxhq.business.dto.gyzj.FfjlListDto">
select t.id,t.mc,t.bh,t.ffzytj,t.ffrq,t.ghrq,t.ckl,t.ckldw,t.rkl,t.rkldw,t.lqr1_mc,t.lqr2_mc,t.ffr1_mc,t.ffr2_mc,t.jsr1_mc,t.jsr2_mc select t.id,t.mc,t.bh,t.ffzytj,t.ffrq,t.ghrq,t.ckl,t.ckldw,t.rkl,t.rkldw,t.lqr1_mc,t.lqr2_mc,t.ffr1_mc,t.ffr2_mc,t.jsr1_mc,t.jsr2_mc
,t.syl,t.syldw,t.jlzt,t.jyzt,t.md_other,t.jyksrq,t.jyjsrq
,t.syl,t.syldw,t.jlzt,t.jyzt,t.md_other,t.jyksrq,t.jyjsrq,t.gdsqr_id
,z.mc as zcgMc, ,z.mc as zcgMc,
(select GROUP_CONCAT(s.name) from t_study s where find_in_set(s.id, t.`md_ids`)) as mdMcs (select GROUP_CONCAT(s.name) from t_study s where find_in_set(s.id, t.`md_ids`)) as mdMcs
FROM `t_gyzj_ffjl` t FROM `t_gyzj_ffjl` t

+ 1
- 1
hxhq-modules/hxhq-system/src/main/resources/mapper/business/GyzjMapper.xml View File

@ -15,7 +15,7 @@
<select id="queryList" resultType="com.hxhq.business.dto.gyzj.ListDto"> <select id="queryList" resultType="com.hxhq.business.dto.gyzj.ListDto">
select t.id,t.mc,t.bh,t.nd,t.nddw,t.kc,t.kcdw,t.sxrq,t.zjzt,t.jyzt,t.cctj,t.ccwz,t.create_time,t.bjzt,t.kcbjzt,t.rqzt,t.ghzt select t.id,t.mc,t.bh,t.nd,t.nddw,t.kc,t.kcdw,t.sxrq,t.zjzt,t.jyzt,t.cctj,t.ccwz,t.create_time,t.bjzt,t.kcbjzt,t.rqzt,t.ghzt
,t.ckl,t.ckldw,t.ffzytj,t.ffbz,t.rksqzt,t.jyksrq,t.jyjsrq
,t.ckl,t.ckldw,t.ffzytj,t.ffbz,t.rksqzt,t.jyksrq,t.jyjsrq,t.gdsqr_id
,z.mc as zcgMc,t.md_other, ,z.mc as zcgMc,t.md_other,
(select GROUP_CONCAT(s.name) from t_study s where find_in_set(s.id, t.`md_ids`)) as mdMcs (select GROUP_CONCAT(s.name) from t_study s where find_in_set(s.id, t.`md_ids`)) as mdMcs
FROM `t_gyzj` t FROM `t_gyzj` t

+ 1
- 1
hxhq-modules/hxhq-system/src/main/resources/mapper/business/MjyFfjlMapper.xml View File

@ -5,7 +5,7 @@
<mapper namespace="com.hxhq.business.mapper.MjyFfjlMapper"> <mapper namespace="com.hxhq.business.mapper.MjyFfjlMapper">
<select id="queryList" resultType="com.hxhq.business.dto.mjy.FfjlListDto"> <select id="queryList" resultType="com.hxhq.business.dto.mjy.FfjlListDto">
select t.id,t.mc,t.bh,t.ffzytj,t.ffrq,t.ghrq,t.ckl,t.ckldw,t.rkl,t.rkldw,t.ckmz,t.ckmzdw,t.lqr1_mc,t.lqr2_mc,t.ffr1_mc,t.ffr2_mc,t.jsr1_mc,t.jsr2_mc,t.rkmz,t.rkmzdw select t.id,t.mc,t.bh,t.ffzytj,t.ffrq,t.ghrq,t.ckl,t.ckldw,t.rkl,t.rkldw,t.ckmz,t.ckmzdw,t.lqr1_mc,t.lqr2_mc,t.ffr1_mc,t.ffr2_mc,t.jsr1_mc,t.jsr2_mc,t.rkmz,t.rkmzdw
,t.syl,t.syldw,t.jlzt,t.jyzt,t.md_other,t.jyksrq,t.jyjsrq
,t.syl,t.syldw,t.jlzt,t.jyzt,t.md_other,t.jyksrq,t.jyjsrq,t.gdsqr_id
,z.mc as zcgMc, ,z.mc as zcgMc,
(select GROUP_CONCAT(s.name) from t_study s where find_in_set(s.id, t.`md_ids`)) as mdMcs (select GROUP_CONCAT(s.name) from t_study s where find_in_set(s.id, t.`md_ids`)) as mdMcs
FROM `t_mjy_ffjl` t FROM `t_mjy_ffjl` t

+ 1
- 1
hxhq-modules/hxhq-system/src/main/resources/mapper/business/MjyMapper.xml View File

@ -15,7 +15,7 @@
<select id="queryList" resultType="com.hxhq.business.dto.mjy.ListDto"> <select id="queryList" resultType="com.hxhq.business.dto.mjy.ListDto">
select t.id,t.mc,t.bh,t.nd,t.nddw,t.kc,t.kcdw,t.sxrq,t.zjzt,t.jyzt,t.cctj,t.ccwz,t.create_time,t.bjzt,t.kcbjzt,t.rqzt,t.ghzt select t.id,t.mc,t.bh,t.nd,t.nddw,t.kc,t.kcdw,t.sxrq,t.zjzt,t.jyzt,t.cctj,t.ccwz,t.create_time,t.bjzt,t.kcbjzt,t.rqzt,t.ghzt
,t.ckl,t.ckldw,t.ffzytj,t.ckmz,t.ckmzdw,t.lqr1_mc,t.lqr2_mc,t.ffr1_mc,t.ffr2_mc,t.ffbz
,t.ckl,t.ckldw,t.ffzytj,t.ckmz,t.ckmzdw,t.lqr1_mc,t.lqr2_mc,t.ffr1_mc,t.ffr2_mc,t.ffbz,t.gdsqr_id
,z.mc as zcgMc ,z.mc as zcgMc
FROM `t_mjy` t FROM `t_mjy` t
left join `t_zcg` z on z.id=t.zcg_id left join `t_zcg` z on z.id=t.zcg_id

Loading…
Cancel
Save