Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
J
jgjy
Project
Project
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
Graph
比较
统计图
议题
0
议题
0
列表
看板
标记
Milestones
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
注册表
注册表
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
svn
jgjy
Commits
6e3a7b4d
提交
6e3a7b4d
authored
12月 09, 2020
作者:
zhouzhigang
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
省监管统计
上级
974ae0c0
显示空白字符变更
内嵌
并排
正在显示
4 个修改的文件
包含
32 行增加
和
0 行删除
+32
-0
SuperviseController.java
...ool/sysuser/controller/supervise/SuperviseController.java
+7
-0
FgBasicTeachingPlanMapper.java
...r/mapper/basicteachingplan/FgBasicTeachingPlanMapper.java
+10
-0
FgBasicTeachingPlanService.java
...service/basicteachingplan/FgBasicTeachingPlanService.java
+3
-0
FgBasicTeachingPlanServiceImpl.java
...ice/basicteachingplan/FgBasicTeachingPlanServiceImpl.java
+12
-0
没有找到文件。
com.zrqx.school.sysuser/src/main/java/com/zrqx/school/sysuser/controller/supervise/SuperviseController.java
浏览文件 @
6e3a7b4d
...
...
@@ -7,6 +7,7 @@ import javax.servlet.http.HttpServletRequest;
import
javax.servlet.http.HttpServletResponse
;
import
com.zrqx.core.form.member.fg.basicteachingplan.ExportQuerySuperviseInfoForm
;
import
io.swagger.annotations.ApiModelProperty
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.web.bind.annotation.*
;
...
...
@@ -114,4 +115,10 @@ public class SuperviseController {
return
fgBasicTeachingPlanService
.
exportDataList
(
form
.
getList
(),
request
,
response
);
}
@ApiOperation
(
value
=
"批量修改省监管id"
,
notes
=
"批量修改省监管id"
)
@PostMapping
(
"/update/supervise/id"
)
public
CallBack
<
Boolean
>
batchUpdateId
(){
return
CallBack
.
success
(
fgBasicTeachingPlanService
.
batchUpdateId
());
}
}
com.zrqx.school.sysuser/src/main/java/com/zrqx/school/sysuser/mapper/basicteachingplan/FgBasicTeachingPlanMapper.java
浏览文件 @
6e3a7b4d
...
...
@@ -385,5 +385,15 @@ public interface FgBasicTeachingPlanMapper extends BaseMapper<BasicTeachingPlan>
List
<
School
>
querySchools
();
@Select
(
" SELECT * from me_basic_teaching_plan where DATE(createTime) = '2020-12-09' "
)
List
<
BasicTeachingPlan
>
queryList111
();
@Select
(
" SELECT * from `jgjy-member`.me_school where id = #{id} "
)
School
querySchoolInfo
(
@Param
(
"id"
)
Integer
id
);
@Select
(
" SELECT id from `jgjy-member`.me_supervise where province = #{city}"
)
Integer
queryId
(
@Param
(
"city"
)
String
city
);
}
com.zrqx.school.sysuser/src/main/java/com/zrqx/school/sysuser/service/basicteachingplan/FgBasicTeachingPlanService.java
浏览文件 @
6e3a7b4d
...
...
@@ -231,4 +231,7 @@ public interface FgBasicTeachingPlanService extends BaseService<BasicTeachingPla
* @data 2019年10月15日 下午3:14:34
*/
public
boolean
isExistBasic
(
BasicTeachingPlan
form
,
BasicTeachingPlan
oldEntity
);
boolean
batchUpdateId
();
}
com.zrqx.school.sysuser/src/main/java/com/zrqx/school/sysuser/service/basicteachingplan/FgBasicTeachingPlanServiceImpl.java
浏览文件 @
6e3a7b4d
...
...
@@ -988,4 +988,16 @@ public class FgBasicTeachingPlanServiceImpl extends BaseModelServiceImpl<BasicTe
return
true
;
}
@Override
public
boolean
batchUpdateId
()
{
List
<
BasicTeachingPlan
>
basicTeachingPlans
=
fgBasicTeachingPlanMapper
.
queryList111
();
basicTeachingPlans
.
forEach
(
vo
->{
School
school
=
fgBasicTeachingPlanMapper
.
querySchoolInfo
(
vo
.
getRelationId
());
Integer
id
=
fgBasicTeachingPlanMapper
.
queryId
(
school
.
getCity
());
vo
.
setSuperviseId
(
id
);
fgBasicTeachingPlanMapper
.
updateByPrimaryKey
(
vo
);
});
return
false
;
}
}
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论