浏览代码

fix 资料审核

he2802 3 年之前
父节点
当前提交
903e26e2cb

+ 3 - 0
zhongzheng-system/src/main/java/com/zhongzheng/modules/base/bo/ProfileTpAddBo.java

@@ -36,4 +36,7 @@ public class ProfileTpAddBo {
     private Long updateTime;
     @ApiModelProperty("业务层级列表")
     private List<ProfileTpBusinessAddBo> businessList;
+    /** key值,多个,拼接 */
+    @ApiModelProperty("key值,多个,拼接")
+    private String keyValue;
 }

+ 4 - 0
zhongzheng-system/src/main/java/com/zhongzheng/modules/base/bo/ProfileTpEditBo.java

@@ -42,4 +42,8 @@ public class ProfileTpEditBo {
     @ApiModelProperty("业务层级列表")
     private List<ProfileTpBusinessAddBo> businessList;
 
+    /** key值,多个,拼接 */
+    @ApiModelProperty("key值,多个,拼接")
+    private String keyValue;
+
 }

+ 2 - 0
zhongzheng-system/src/main/java/com/zhongzheng/modules/base/domain/ProfileTp.java

@@ -38,4 +38,6 @@ private static final long serialVersionUID=1L;
     /** 修改时间 */
     @TableField(fill = FieldFill.INSERT_UPDATE)
     private Long updateTime;
+    /** key值,多个,拼接 */
+    private String keyValue;
 }

+ 6 - 0
zhongzheng-system/src/main/java/com/zhongzheng/modules/base/service/impl/ProfileTpServiceImpl.java

@@ -8,8 +8,11 @@ import com.zhongzheng.modules.base.bo.ProfileTpEditBo;
 import com.zhongzheng.modules.base.bo.ProfileTpQueryBo;
 import com.zhongzheng.modules.base.domain.ProfileTp;
 import com.zhongzheng.modules.base.mapper.ProfileTpMapper;
+import com.zhongzheng.modules.base.service.IProfileTpBusinessService;
 import com.zhongzheng.modules.base.service.IProfileTpService;
 import com.zhongzheng.modules.base.vo.ProfileTpVo;
+import com.zhongzheng.modules.course.service.ICourseChapterSectionService;
+import org.springframework.beans.factory.annotation.Autowired;
 import org.springframework.stereotype.Service;
 import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
 import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
@@ -29,6 +32,9 @@ import java.util.stream.Collectors;
 @Service
 public class ProfileTpServiceImpl extends ServiceImpl<ProfileTpMapper, ProfileTp> implements IProfileTpService {
 
+    @Autowired
+    private IProfileTpBusinessService iProfileTpBusinessService;
+
     @Override
     public ProfileTpVo queryById(Long profileTpId){
         ProfileTp db = this.baseMapper.selectById(profileTpId);

+ 4 - 0
zhongzheng-system/src/main/java/com/zhongzheng/modules/base/vo/ProfileTpVo.java

@@ -36,4 +36,8 @@ public class ProfileTpVo {
 	@Excel(name = "0 禁用 1启用")
 	@ApiModelProperty("0 禁用 1启用")
 	private Integer status;
+	/** key值,多个,拼接 */
+	@Excel(name = "key值,多个,拼接")
+	@ApiModelProperty("key值,多个,拼接")
+	private String keyValue;
 }

+ 1 - 0
zhongzheng-system/src/main/resources/mapper/modules/base/ProfileTpMapper.xml

@@ -11,6 +11,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
         <result property="status" column="status"/>
         <result property="createTime" column="create_time"/>
         <result property="updateTime" column="update_time"/>
+        <result property="keyValue" column="key_value"/>
     </resultMap>