儿童学习与发展档案
This commit is contained in:
parent
e33289bab6
commit
3d552ff313
53
ruoyi-ui/src/api/benyi/learndevelopmentfamily.js
Normal file
53
ruoyi-ui/src/api/benyi/learndevelopmentfamily.js
Normal file
@ -0,0 +1,53 @@
|
||||
import request from '@/utils/request'
|
||||
|
||||
// 查询儿童学习与发展档案(家长)列表
|
||||
export function listFamily(query) {
|
||||
return request({
|
||||
url: '/benyi/learndevelopmentfamily/list',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
// 查询儿童学习与发展档案(家长)详细
|
||||
export function getFamily(id) {
|
||||
return request({
|
||||
url: '/benyi/learndevelopmentfamily/' + id,
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
||||
// 新增儿童学习与发展档案(家长)
|
||||
export function addFamily(data) {
|
||||
return request({
|
||||
url: '/benyi/learndevelopmentfamily',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 修改儿童学习与发展档案(家长)
|
||||
export function updateFamily(data) {
|
||||
return request({
|
||||
url: '/benyi/learndevelopmentfamily',
|
||||
method: 'put',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 删除儿童学习与发展档案(家长)
|
||||
export function delFamily(id) {
|
||||
return request({
|
||||
url: '/benyi/learndevelopmentfamily/' + id,
|
||||
method: 'delete'
|
||||
})
|
||||
}
|
||||
|
||||
// 导出儿童学习与发展档案(家长)
|
||||
export function exportFamily(query) {
|
||||
return request({
|
||||
url: '/benyi/learndevelopmentfamily/export',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
53
ruoyi-ui/src/api/benyi/learndevelopmentteacher.js
Normal file
53
ruoyi-ui/src/api/benyi/learndevelopmentteacher.js
Normal file
@ -0,0 +1,53 @@
|
||||
import request from '@/utils/request'
|
||||
|
||||
// 查询儿童学习与发展档案(教师)列表
|
||||
export function listTeacher(query) {
|
||||
return request({
|
||||
url: '/benyi/learndevelopmentteacher/list',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
// 查询儿童学习与发展档案(教师)详细
|
||||
export function getTeacher(id) {
|
||||
return request({
|
||||
url: '/benyi/learndevelopmentteacher/' + id,
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
||||
// 新增儿童学习与发展档案(教师)
|
||||
export function addTeacher(data) {
|
||||
return request({
|
||||
url: '/benyi/learndevelopmentteacher',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 修改儿童学习与发展档案(教师)
|
||||
export function updateTeacher(data) {
|
||||
return request({
|
||||
url: '/benyi/learndevelopmentteacher',
|
||||
method: 'put',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 删除儿童学习与发展档案(教师)
|
||||
export function delTeacher(id) {
|
||||
return request({
|
||||
url: '/benyi/learndevelopmentteacher/' + id,
|
||||
method: 'delete'
|
||||
})
|
||||
}
|
||||
|
||||
// 导出儿童学习与发展档案(教师)
|
||||
export function exportTeacher(query) {
|
||||
return request({
|
||||
url: '/benyi/learndevelopmentteacher/export',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
314
ruoyi-ui/src/views/benyi/learndevelopmentfamily/index.vue
Normal file
314
ruoyi-ui/src/views/benyi/learndevelopmentfamily/index.vue
Normal file
@ -0,0 +1,314 @@
|
||||
<template>
|
||||
<div class="app-container">
|
||||
<el-form :model="queryParams" ref="queryForm" :inline="true" label-width="68px">
|
||||
<el-form-item label="幼儿id" prop="childid">
|
||||
<el-input
|
||||
v-model="queryParams.childid"
|
||||
placeholder="请输入幼儿id"
|
||||
clearable
|
||||
size="small"
|
||||
@keyup.enter.native="handleQuery"
|
||||
/>
|
||||
</el-form-item>
|
||||
<el-form-item label="学年学期" prop="xnxq">
|
||||
<el-input
|
||||
v-model="queryParams.xnxq"
|
||||
placeholder="请输入学年学期"
|
||||
clearable
|
||||
size="small"
|
||||
@keyup.enter.native="handleQuery"
|
||||
/>
|
||||
</el-form-item>
|
||||
<el-form-item>
|
||||
<el-button type="primary" icon="el-icon-search" size="mini" @click="handleQuery">搜索</el-button>
|
||||
<el-button icon="el-icon-refresh" size="mini" @click="resetQuery">重置</el-button>
|
||||
</el-form-item>
|
||||
</el-form>
|
||||
|
||||
<el-row :gutter="10" class="mb8">
|
||||
<el-col :span="1.5">
|
||||
<el-button
|
||||
type="primary"
|
||||
icon="el-icon-plus"
|
||||
size="mini"
|
||||
@click="handleAdd"
|
||||
v-hasPermi="['benyi:learndevelopmentfamily:add']"
|
||||
>新增</el-button>
|
||||
</el-col>
|
||||
<el-col :span="1.5">
|
||||
<el-button
|
||||
type="success"
|
||||
icon="el-icon-edit"
|
||||
size="mini"
|
||||
:disabled="single"
|
||||
@click="handleUpdate"
|
||||
v-hasPermi="['benyi:learndevelopmentfamily:edit']"
|
||||
>修改</el-button>
|
||||
</el-col>
|
||||
<el-col :span="1.5">
|
||||
<el-button
|
||||
type="danger"
|
||||
icon="el-icon-delete"
|
||||
size="mini"
|
||||
:disabled="multiple"
|
||||
@click="handleDelete"
|
||||
v-hasPermi="['benyi:learndevelopmentfamily:remove']"
|
||||
>删除</el-button>
|
||||
</el-col>
|
||||
</el-row>
|
||||
|
||||
<el-table v-loading="loading" :data="familyList" @selection-change="handleSelectionChange">
|
||||
<el-table-column type="selection" width="55" align="center" />
|
||||
<el-table-column label="编号" align="center" prop="id" />
|
||||
<el-table-column label="幼儿id" align="center" prop="childid" />
|
||||
<el-table-column label="学年学期" align="center" prop="xnxq" />
|
||||
<el-table-column label="作品照片" align="center" prop="zpimgs" />
|
||||
<el-table-column label="作品照片备注" align="center" prop="zpimgremarks" />
|
||||
<el-table-column label="生活照片" align="center" prop="shimgs" />
|
||||
<el-table-column label="生活照片备注" align="center" prop="shimgsremarks" />
|
||||
<el-table-column label="有趣事件" align="center" prop="yqsj" />
|
||||
<el-table-column label="有趣事件备注" align="center" prop="yqsjremarks" />
|
||||
<el-table-column label="教师评语" align="center" prop="jspy" />
|
||||
<el-table-column label="教师评语备注" align="center" prop="jspyremarks" />
|
||||
<el-table-column label="创建人" align="center" prop="createuserid" />
|
||||
<el-table-column label="操作" align="center" class-name="small-padding fixed-width">
|
||||
<template slot-scope="scope">
|
||||
<el-button
|
||||
size="mini"
|
||||
type="text"
|
||||
icon="el-icon-edit"
|
||||
@click="handleUpdate(scope.row)"
|
||||
v-hasPermi="['benyi:learndevelopmentfamily:edit']"
|
||||
>修改</el-button>
|
||||
<el-button
|
||||
size="mini"
|
||||
type="text"
|
||||
icon="el-icon-delete"
|
||||
@click="handleDelete(scope.row)"
|
||||
v-hasPermi="['benyi:learndevelopmentfamily:remove']"
|
||||
>删除</el-button>
|
||||
</template>
|
||||
</el-table-column>
|
||||
</el-table>
|
||||
|
||||
<pagination
|
||||
v-show="total>0"
|
||||
:total="total"
|
||||
:page.sync="queryParams.pageNum"
|
||||
:limit.sync="queryParams.pageSize"
|
||||
@pagination="getList"
|
||||
/>
|
||||
|
||||
<!-- 添加或修改儿童学习与发展档案(家长)对话框 -->
|
||||
<el-dialog :title="title" :visible.sync="open" width="500px" append-to-body>
|
||||
<el-form ref="form" :model="form" :rules="rules" label-width="80px">
|
||||
<el-form-item label="幼儿id" prop="childid">
|
||||
<el-input v-model="form.childid" placeholder="请输入幼儿id" />
|
||||
</el-form-item>
|
||||
<el-form-item label="学年学期" prop="xnxq">
|
||||
<el-input v-model="form.xnxq" placeholder="请输入学年学期" />
|
||||
</el-form-item>
|
||||
<el-form-item label="作品照片" prop="zpimgs">
|
||||
<el-input v-model="form.zpimgs" placeholder="请输入作品照片" />
|
||||
</el-form-item>
|
||||
<el-form-item label="作品照片备注" prop="zpimgremarks">
|
||||
<el-input v-model="form.zpimgremarks" type="textarea" placeholder="请输入内容" />
|
||||
</el-form-item>
|
||||
<el-form-item label="生活照片" prop="shimgs">
|
||||
<el-input v-model="form.shimgs" placeholder="请输入生活照片" />
|
||||
</el-form-item>
|
||||
<el-form-item label="生活照片备注" prop="shimgsremarks">
|
||||
<el-input v-model="form.shimgsremarks" type="textarea" placeholder="请输入内容" />
|
||||
</el-form-item>
|
||||
<el-form-item label="有趣事件" prop="yqsj">
|
||||
<el-input v-model="form.yqsj" placeholder="请输入有趣事件" />
|
||||
</el-form-item>
|
||||
<el-form-item label="有趣事件备注" prop="yqsjremarks">
|
||||
<el-input v-model="form.yqsjremarks" type="textarea" placeholder="请输入内容" />
|
||||
</el-form-item>
|
||||
<el-form-item label="教师评语" prop="jspy">
|
||||
<el-input v-model="form.jspy" placeholder="请输入教师评语" />
|
||||
</el-form-item>
|
||||
<el-form-item label="教师评语备注" prop="jspyremarks">
|
||||
<el-input v-model="form.jspyremarks" type="textarea" placeholder="请输入内容" />
|
||||
</el-form-item>
|
||||
<el-form-item label="创建人" prop="createuserid">
|
||||
<el-input v-model="form.createuserid" placeholder="请输入创建人" />
|
||||
</el-form-item>
|
||||
</el-form>
|
||||
<div slot="footer" class="dialog-footer">
|
||||
<el-button type="primary" @click="submitForm">确 定</el-button>
|
||||
<el-button @click="cancel">取 消</el-button>
|
||||
</div>
|
||||
</el-dialog>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import {
|
||||
listFamily,
|
||||
getFamily,
|
||||
delFamily,
|
||||
addFamily,
|
||||
updateFamily,
|
||||
} from "@/api/benyi/learndevelopmentfamily";
|
||||
|
||||
export default {
|
||||
name: "Family",
|
||||
data() {
|
||||
return {
|
||||
// 遮罩层
|
||||
loading: true,
|
||||
// 选中数组
|
||||
ids: [],
|
||||
// 非单个禁用
|
||||
single: true,
|
||||
// 非多个禁用
|
||||
multiple: true,
|
||||
// 总条数
|
||||
total: 0,
|
||||
// 儿童学习与发展档案(家长)表格数据
|
||||
familyList: [],
|
||||
// 弹出层标题
|
||||
title: "",
|
||||
// 是否显示弹出层
|
||||
open: false,
|
||||
// 查询参数
|
||||
queryParams: {
|
||||
pageNum: 1,
|
||||
pageSize: 10,
|
||||
childid: undefined,
|
||||
xnxq: undefined,
|
||||
zpimgs: undefined,
|
||||
zpimgremarks: undefined,
|
||||
shimgs: undefined,
|
||||
shimgsremarks: undefined,
|
||||
yqsj: undefined,
|
||||
yqsjremarks: undefined,
|
||||
jspy: undefined,
|
||||
jspyremarks: undefined,
|
||||
createuserid: undefined,
|
||||
},
|
||||
// 表单参数
|
||||
form: {},
|
||||
// 表单校验
|
||||
rules: {},
|
||||
};
|
||||
},
|
||||
created() {
|
||||
this.getList();
|
||||
},
|
||||
methods: {
|
||||
/** 查询儿童学习与发展档案(家长)列表 */
|
||||
getList() {
|
||||
this.loading = true;
|
||||
listFamily(this.queryParams).then((response) => {
|
||||
this.familyList = response.rows;
|
||||
this.total = response.total;
|
||||
this.loading = false;
|
||||
});
|
||||
},
|
||||
// 取消按钮
|
||||
cancel() {
|
||||
this.open = false;
|
||||
this.reset();
|
||||
},
|
||||
// 表单重置
|
||||
reset() {
|
||||
this.form = {
|
||||
id: undefined,
|
||||
childid: undefined,
|
||||
xnxq: undefined,
|
||||
zpimgs: undefined,
|
||||
zpimgremarks: undefined,
|
||||
shimgs: undefined,
|
||||
shimgsremarks: undefined,
|
||||
yqsj: undefined,
|
||||
yqsjremarks: undefined,
|
||||
jspy: undefined,
|
||||
jspyremarks: undefined,
|
||||
createuserid: undefined,
|
||||
createTime: undefined,
|
||||
};
|
||||
this.resetForm("form");
|
||||
},
|
||||
/** 搜索按钮操作 */
|
||||
handleQuery() {
|
||||
this.queryParams.pageNum = 1;
|
||||
this.getList();
|
||||
},
|
||||
/** 重置按钮操作 */
|
||||
resetQuery() {
|
||||
this.resetForm("queryForm");
|
||||
this.handleQuery();
|
||||
},
|
||||
// 多选框选中数据
|
||||
handleSelectionChange(selection) {
|
||||
this.ids = selection.map((item) => item.id);
|
||||
this.single = selection.length != 1;
|
||||
this.multiple = !selection.length;
|
||||
},
|
||||
/** 新增按钮操作 */
|
||||
handleAdd() {
|
||||
this.reset();
|
||||
this.open = true;
|
||||
this.title = "添加儿童学习与发展档案(家长)";
|
||||
},
|
||||
/** 修改按钮操作 */
|
||||
handleUpdate(row) {
|
||||
this.reset();
|
||||
const id = row.id || this.ids;
|
||||
getFamily(id).then((response) => {
|
||||
this.form = response.data;
|
||||
this.open = true;
|
||||
this.title = "修改儿童学习与发展档案(家长)";
|
||||
});
|
||||
},
|
||||
/** 提交按钮 */
|
||||
submitForm: function () {
|
||||
this.$refs["form"].validate((valid) => {
|
||||
if (valid) {
|
||||
if (this.form.id != undefined) {
|
||||
updateFamily(this.form).then((response) => {
|
||||
if (response.code === 200) {
|
||||
this.msgSuccess("修改成功");
|
||||
this.open = false;
|
||||
this.getList();
|
||||
}
|
||||
});
|
||||
} else {
|
||||
addFamily(this.form).then((response) => {
|
||||
if (response.code === 200) {
|
||||
this.msgSuccess("新增成功");
|
||||
this.open = false;
|
||||
this.getList();
|
||||
}
|
||||
});
|
||||
}
|
||||
}
|
||||
});
|
||||
},
|
||||
/** 删除按钮操作 */
|
||||
handleDelete(row) {
|
||||
const ids = row.id || this.ids;
|
||||
this.$confirm(
|
||||
'是否确认删除儿童学习与发展档案(家长)编号为"' + ids + '"的数据项?',
|
||||
"警告",
|
||||
{
|
||||
confirmButtonText: "确定",
|
||||
cancelButtonText: "取消",
|
||||
type: "warning",
|
||||
}
|
||||
)
|
||||
.then(function () {
|
||||
return delFamily(ids);
|
||||
})
|
||||
.then(() => {
|
||||
this.getList();
|
||||
this.msgSuccess("删除成功");
|
||||
})
|
||||
.catch(function () {});
|
||||
},
|
||||
},
|
||||
};
|
||||
</script>
|
314
ruoyi-ui/src/views/benyi/learndevelopmentteacher/index.vue
Normal file
314
ruoyi-ui/src/views/benyi/learndevelopmentteacher/index.vue
Normal file
@ -0,0 +1,314 @@
|
||||
<template>
|
||||
<div class="app-container">
|
||||
<el-form :model="queryParams" ref="queryForm" :inline="true" label-width="68px">
|
||||
<el-form-item label="幼儿id" prop="childid">
|
||||
<el-input
|
||||
v-model="queryParams.childid"
|
||||
placeholder="请输入幼儿id"
|
||||
clearable
|
||||
size="small"
|
||||
@keyup.enter.native="handleQuery"
|
||||
/>
|
||||
</el-form-item>
|
||||
<el-form-item label="学年学期" prop="xnxq">
|
||||
<el-input
|
||||
v-model="queryParams.xnxq"
|
||||
placeholder="请输入学年学期"
|
||||
clearable
|
||||
size="small"
|
||||
@keyup.enter.native="handleQuery"
|
||||
/>
|
||||
</el-form-item>
|
||||
<el-form-item>
|
||||
<el-button type="primary" icon="el-icon-search" size="mini" @click="handleQuery">搜索</el-button>
|
||||
<el-button icon="el-icon-refresh" size="mini" @click="resetQuery">重置</el-button>
|
||||
</el-form-item>
|
||||
</el-form>
|
||||
|
||||
<el-row :gutter="10" class="mb8">
|
||||
<el-col :span="1.5">
|
||||
<el-button
|
||||
type="primary"
|
||||
icon="el-icon-plus"
|
||||
size="mini"
|
||||
@click="handleAdd"
|
||||
v-hasPermi="['benyi:learndevelopmentteacher:add']"
|
||||
>新增</el-button>
|
||||
</el-col>
|
||||
<el-col :span="1.5">
|
||||
<el-button
|
||||
type="success"
|
||||
icon="el-icon-edit"
|
||||
size="mini"
|
||||
:disabled="single"
|
||||
@click="handleUpdate"
|
||||
v-hasPermi="['benyi:learndevelopmentteacher:edit']"
|
||||
>修改</el-button>
|
||||
</el-col>
|
||||
<el-col :span="1.5">
|
||||
<el-button
|
||||
type="danger"
|
||||
icon="el-icon-delete"
|
||||
size="mini"
|
||||
:disabled="multiple"
|
||||
@click="handleDelete"
|
||||
v-hasPermi="['benyi:learndevelopmentteacher:remove']"
|
||||
>删除</el-button>
|
||||
</el-col>
|
||||
</el-row>
|
||||
|
||||
<el-table v-loading="loading" :data="teacherList" @selection-change="handleSelectionChange">
|
||||
<el-table-column type="selection" width="55" align="center" />
|
||||
<el-table-column label="编号" align="center" prop="id" />
|
||||
<el-table-column label="幼儿id" align="center" prop="childid" />
|
||||
<el-table-column label="学年学期" align="center" prop="xnxq" />
|
||||
<el-table-column label="观察记录" align="center" prop="gcjl" />
|
||||
<el-table-column label="观察记录备注" align="center" prop="gcjlremarks" />
|
||||
<el-table-column label="问题与方案" align="center" prop="wtyfa" />
|
||||
<el-table-column label="问题与方案备注" align="center" prop="wtyfaremarks" />
|
||||
<el-table-column label="评估结果" align="center" prop="pgjg" />
|
||||
<el-table-column label="评估结果备注" align="center" prop="pgjgremarks" />
|
||||
<el-table-column label="教育计划" align="center" prop="jyjh" />
|
||||
<el-table-column label="教育计划备注" align="center" prop="jyjhremarks" />
|
||||
<el-table-column label="创建人" align="center" prop="createuserid" />
|
||||
<el-table-column label="操作" align="center" class-name="small-padding fixed-width">
|
||||
<template slot-scope="scope">
|
||||
<el-button
|
||||
size="mini"
|
||||
type="text"
|
||||
icon="el-icon-edit"
|
||||
@click="handleUpdate(scope.row)"
|
||||
v-hasPermi="['benyi:learndevelopmentteacher:edit']"
|
||||
>修改</el-button>
|
||||
<el-button
|
||||
size="mini"
|
||||
type="text"
|
||||
icon="el-icon-delete"
|
||||
@click="handleDelete(scope.row)"
|
||||
v-hasPermi="['benyi:learndevelopmentteacher:remove']"
|
||||
>删除</el-button>
|
||||
</template>
|
||||
</el-table-column>
|
||||
</el-table>
|
||||
|
||||
<pagination
|
||||
v-show="total>0"
|
||||
:total="total"
|
||||
:page.sync="queryParams.pageNum"
|
||||
:limit.sync="queryParams.pageSize"
|
||||
@pagination="getList"
|
||||
/>
|
||||
|
||||
<!-- 添加或修改儿童学习与发展档案(教师)对话框 -->
|
||||
<el-dialog :title="title" :visible.sync="open" width="500px" append-to-body>
|
||||
<el-form ref="form" :model="form" :rules="rules" label-width="80px">
|
||||
<el-form-item label="幼儿id" prop="childid">
|
||||
<el-input v-model="form.childid" placeholder="请输入幼儿id" />
|
||||
</el-form-item>
|
||||
<el-form-item label="学年学期" prop="xnxq">
|
||||
<el-input v-model="form.xnxq" placeholder="请输入学年学期" />
|
||||
</el-form-item>
|
||||
<el-form-item label="观察记录" prop="gcjl">
|
||||
<el-input v-model="form.gcjl" placeholder="请输入观察记录" />
|
||||
</el-form-item>
|
||||
<el-form-item label="观察记录备注" prop="gcjlremarks">
|
||||
<el-input v-model="form.gcjlremarks" type="textarea" placeholder="请输入内容" />
|
||||
</el-form-item>
|
||||
<el-form-item label="问题与方案" prop="wtyfa">
|
||||
<el-input v-model="form.wtyfa" placeholder="请输入问题与方案" />
|
||||
</el-form-item>
|
||||
<el-form-item label="问题与方案备注" prop="wtyfaremarks">
|
||||
<el-input v-model="form.wtyfaremarks" type="textarea" placeholder="请输入内容" />
|
||||
</el-form-item>
|
||||
<el-form-item label="评估结果" prop="pgjg">
|
||||
<el-input v-model="form.pgjg" placeholder="请输入评估结果" />
|
||||
</el-form-item>
|
||||
<el-form-item label="评估结果备注" prop="pgjgremarks">
|
||||
<el-input v-model="form.pgjgremarks" type="textarea" placeholder="请输入内容" />
|
||||
</el-form-item>
|
||||
<el-form-item label="教育计划" prop="jyjh">
|
||||
<el-input v-model="form.jyjh" placeholder="请输入教育计划" />
|
||||
</el-form-item>
|
||||
<el-form-item label="教育计划备注" prop="jyjhremarks">
|
||||
<el-input v-model="form.jyjhremarks" type="textarea" placeholder="请输入内容" />
|
||||
</el-form-item>
|
||||
<el-form-item label="创建人" prop="createuserid">
|
||||
<el-input v-model="form.createuserid" placeholder="请输入创建人" />
|
||||
</el-form-item>
|
||||
</el-form>
|
||||
<div slot="footer" class="dialog-footer">
|
||||
<el-button type="primary" @click="submitForm">确 定</el-button>
|
||||
<el-button @click="cancel">取 消</el-button>
|
||||
</div>
|
||||
</el-dialog>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import {
|
||||
listTeacher,
|
||||
getTeacher,
|
||||
delTeacher,
|
||||
addTeacher,
|
||||
updateTeacher,
|
||||
} from "@/api/benyi/learndevelopmentteacher";
|
||||
|
||||
export default {
|
||||
name: "Teacher",
|
||||
data() {
|
||||
return {
|
||||
// 遮罩层
|
||||
loading: true,
|
||||
// 选中数组
|
||||
ids: [],
|
||||
// 非单个禁用
|
||||
single: true,
|
||||
// 非多个禁用
|
||||
multiple: true,
|
||||
// 总条数
|
||||
total: 0,
|
||||
// 儿童学习与发展档案(教师)表格数据
|
||||
teacherList: [],
|
||||
// 弹出层标题
|
||||
title: "",
|
||||
// 是否显示弹出层
|
||||
open: false,
|
||||
// 查询参数
|
||||
queryParams: {
|
||||
pageNum: 1,
|
||||
pageSize: 10,
|
||||
childid: undefined,
|
||||
xnxq: undefined,
|
||||
gcjl: undefined,
|
||||
gcjlremarks: undefined,
|
||||
wtyfa: undefined,
|
||||
wtyfaremarks: undefined,
|
||||
pgjg: undefined,
|
||||
pgjgremarks: undefined,
|
||||
jyjh: undefined,
|
||||
jyjhremarks: undefined,
|
||||
createuserid: undefined,
|
||||
},
|
||||
// 表单参数
|
||||
form: {},
|
||||
// 表单校验
|
||||
rules: {},
|
||||
};
|
||||
},
|
||||
created() {
|
||||
this.getList();
|
||||
},
|
||||
methods: {
|
||||
/** 查询儿童学习与发展档案(教师)列表 */
|
||||
getList() {
|
||||
this.loading = true;
|
||||
listTeacher(this.queryParams).then((response) => {
|
||||
this.teacherList = response.rows;
|
||||
this.total = response.total;
|
||||
this.loading = false;
|
||||
});
|
||||
},
|
||||
// 取消按钮
|
||||
cancel() {
|
||||
this.open = false;
|
||||
this.reset();
|
||||
},
|
||||
// 表单重置
|
||||
reset() {
|
||||
this.form = {
|
||||
id: undefined,
|
||||
childid: undefined,
|
||||
xnxq: undefined,
|
||||
gcjl: undefined,
|
||||
gcjlremarks: undefined,
|
||||
wtyfa: undefined,
|
||||
wtyfaremarks: undefined,
|
||||
pgjg: undefined,
|
||||
pgjgremarks: undefined,
|
||||
jyjh: undefined,
|
||||
jyjhremarks: undefined,
|
||||
createuserid: undefined,
|
||||
createTime: undefined,
|
||||
};
|
||||
this.resetForm("form");
|
||||
},
|
||||
/** 搜索按钮操作 */
|
||||
handleQuery() {
|
||||
this.queryParams.pageNum = 1;
|
||||
this.getList();
|
||||
},
|
||||
/** 重置按钮操作 */
|
||||
resetQuery() {
|
||||
this.resetForm("queryForm");
|
||||
this.handleQuery();
|
||||
},
|
||||
// 多选框选中数据
|
||||
handleSelectionChange(selection) {
|
||||
this.ids = selection.map((item) => item.id);
|
||||
this.single = selection.length != 1;
|
||||
this.multiple = !selection.length;
|
||||
},
|
||||
/** 新增按钮操作 */
|
||||
handleAdd() {
|
||||
this.reset();
|
||||
this.open = true;
|
||||
this.title = "添加儿童学习与发展档案(教师)";
|
||||
},
|
||||
/** 修改按钮操作 */
|
||||
handleUpdate(row) {
|
||||
this.reset();
|
||||
const id = row.id || this.ids;
|
||||
getTeacher(id).then((response) => {
|
||||
this.form = response.data;
|
||||
this.open = true;
|
||||
this.title = "修改儿童学习与发展档案(教师)";
|
||||
});
|
||||
},
|
||||
/** 提交按钮 */
|
||||
submitForm: function () {
|
||||
this.$refs["form"].validate((valid) => {
|
||||
if (valid) {
|
||||
if (this.form.id != undefined) {
|
||||
updateTeacher(this.form).then((response) => {
|
||||
if (response.code === 200) {
|
||||
this.msgSuccess("修改成功");
|
||||
this.open = false;
|
||||
this.getList();
|
||||
}
|
||||
});
|
||||
} else {
|
||||
addTeacher(this.form).then((response) => {
|
||||
if (response.code === 200) {
|
||||
this.msgSuccess("新增成功");
|
||||
this.open = false;
|
||||
this.getList();
|
||||
}
|
||||
});
|
||||
}
|
||||
}
|
||||
});
|
||||
},
|
||||
/** 删除按钮操作 */
|
||||
handleDelete(row) {
|
||||
const ids = row.id || this.ids;
|
||||
this.$confirm(
|
||||
'是否确认删除儿童学习与发展档案(教师)编号为"' + ids + '"的数据项?',
|
||||
"警告",
|
||||
{
|
||||
confirmButtonText: "确定",
|
||||
cancelButtonText: "取消",
|
||||
type: "warning",
|
||||
}
|
||||
)
|
||||
.then(function () {
|
||||
return delTeacher(ids);
|
||||
})
|
||||
.then(() => {
|
||||
this.getList();
|
||||
this.msgSuccess("删除成功");
|
||||
})
|
||||
.catch(function () {});
|
||||
},
|
||||
},
|
||||
};
|
||||
</script>
|
@ -0,0 +1,97 @@
|
||||
package com.ruoyi.project.benyi.controller;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
import org.springframework.security.access.prepost.PreAuthorize;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.web.bind.annotation.GetMapping;
|
||||
import org.springframework.web.bind.annotation.PostMapping;
|
||||
import org.springframework.web.bind.annotation.PutMapping;
|
||||
import org.springframework.web.bind.annotation.DeleteMapping;
|
||||
import org.springframework.web.bind.annotation.PathVariable;
|
||||
import org.springframework.web.bind.annotation.RequestBody;
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
import com.ruoyi.framework.aspectj.lang.annotation.Log;
|
||||
import com.ruoyi.framework.aspectj.lang.enums.BusinessType;
|
||||
import com.ruoyi.project.benyi.domain.ByChildLearndevelopmentFamily;
|
||||
import com.ruoyi.project.benyi.service.IByChildLearndevelopmentFamilyService;
|
||||
import com.ruoyi.framework.web.controller.BaseController;
|
||||
import com.ruoyi.framework.web.domain.AjaxResult;
|
||||
import com.ruoyi.common.utils.poi.ExcelUtil;
|
||||
import com.ruoyi.framework.web.page.TableDataInfo;
|
||||
|
||||
/**
|
||||
* 儿童学习与发展档案(家长)Controller
|
||||
*
|
||||
* @author tsbz
|
||||
* @date 2020-08-10
|
||||
*/
|
||||
@RestController
|
||||
@RequestMapping("/benyi/learndevelopmentfamily")
|
||||
public class ByChildLearndevelopmentFamilyController extends BaseController {
|
||||
@Autowired
|
||||
private IByChildLearndevelopmentFamilyService byChildLearndevelopmentFamilyService;
|
||||
|
||||
/**
|
||||
* 查询儿童学习与发展档案(家长)列表
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('benyi:learndevelopmentfamily:list')")
|
||||
@GetMapping("/list")
|
||||
public TableDataInfo list(ByChildLearndevelopmentFamily byChildLearndevelopmentFamily) {
|
||||
startPage();
|
||||
List<ByChildLearndevelopmentFamily> list = byChildLearndevelopmentFamilyService.selectByChildLearndevelopmentFamilyList(byChildLearndevelopmentFamily);
|
||||
return getDataTable(list);
|
||||
}
|
||||
|
||||
/**
|
||||
* 导出儿童学习与发展档案(家长)列表
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('benyi:learndevelopmentfamily:export')")
|
||||
@Log(title = "儿童学习与发展档案(家长)", businessType = BusinessType.EXPORT)
|
||||
@GetMapping("/export")
|
||||
public AjaxResult export(ByChildLearndevelopmentFamily byChildLearndevelopmentFamily) {
|
||||
List<ByChildLearndevelopmentFamily> list = byChildLearndevelopmentFamilyService.selectByChildLearndevelopmentFamilyList(byChildLearndevelopmentFamily);
|
||||
ExcelUtil<ByChildLearndevelopmentFamily> util = new ExcelUtil<ByChildLearndevelopmentFamily>(ByChildLearndevelopmentFamily.class);
|
||||
return util.exportExcel(list, "family");
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取儿童学习与发展档案(家长)详细信息
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('benyi:learndevelopmentfamily:query')")
|
||||
@GetMapping(value = "/{id}")
|
||||
public AjaxResult getInfo(@PathVariable("id") Long id) {
|
||||
return AjaxResult.success(byChildLearndevelopmentFamilyService.selectByChildLearndevelopmentFamilyById(id));
|
||||
}
|
||||
|
||||
/**
|
||||
* 新增儿童学习与发展档案(家长)
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('benyi:learndevelopmentfamily:add')")
|
||||
@Log(title = "儿童学习与发展档案(家长)", businessType = BusinessType.INSERT)
|
||||
@PostMapping
|
||||
public AjaxResult add(@RequestBody ByChildLearndevelopmentFamily byChildLearndevelopmentFamily) {
|
||||
return toAjax(byChildLearndevelopmentFamilyService.insertByChildLearndevelopmentFamily(byChildLearndevelopmentFamily));
|
||||
}
|
||||
|
||||
/**
|
||||
* 修改儿童学习与发展档案(家长)
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('benyi:learndevelopmentfamily:edit')")
|
||||
@Log(title = "儿童学习与发展档案(家长)", businessType = BusinessType.UPDATE)
|
||||
@PutMapping
|
||||
public AjaxResult edit(@RequestBody ByChildLearndevelopmentFamily byChildLearndevelopmentFamily) {
|
||||
return toAjax(byChildLearndevelopmentFamilyService.updateByChildLearndevelopmentFamily(byChildLearndevelopmentFamily));
|
||||
}
|
||||
|
||||
/**
|
||||
* 删除儿童学习与发展档案(家长)
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('benyi:learndevelopmentfamily:remove')")
|
||||
@Log(title = "儿童学习与发展档案(家长)", businessType = BusinessType.DELETE)
|
||||
@DeleteMapping("/{ids}")
|
||||
public AjaxResult remove(@PathVariable Long[] ids) {
|
||||
return toAjax(byChildLearndevelopmentFamilyService.deleteByChildLearndevelopmentFamilyByIds(ids));
|
||||
}
|
||||
}
|
@ -0,0 +1,97 @@
|
||||
package com.ruoyi.project.benyi.controller;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
import org.springframework.security.access.prepost.PreAuthorize;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.web.bind.annotation.GetMapping;
|
||||
import org.springframework.web.bind.annotation.PostMapping;
|
||||
import org.springframework.web.bind.annotation.PutMapping;
|
||||
import org.springframework.web.bind.annotation.DeleteMapping;
|
||||
import org.springframework.web.bind.annotation.PathVariable;
|
||||
import org.springframework.web.bind.annotation.RequestBody;
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
import com.ruoyi.framework.aspectj.lang.annotation.Log;
|
||||
import com.ruoyi.framework.aspectj.lang.enums.BusinessType;
|
||||
import com.ruoyi.project.benyi.domain.ByChildLearndevelopmentTeacher;
|
||||
import com.ruoyi.project.benyi.service.IByChildLearndevelopmentTeacherService;
|
||||
import com.ruoyi.framework.web.controller.BaseController;
|
||||
import com.ruoyi.framework.web.domain.AjaxResult;
|
||||
import com.ruoyi.common.utils.poi.ExcelUtil;
|
||||
import com.ruoyi.framework.web.page.TableDataInfo;
|
||||
|
||||
/**
|
||||
* 儿童学习与发展档案(教师)Controller
|
||||
*
|
||||
* @author tsbz
|
||||
* @date 2020-08-10
|
||||
*/
|
||||
@RestController
|
||||
@RequestMapping("/benyi/learndevelopmentteacher")
|
||||
public class ByChildLearndevelopmentTeacherController extends BaseController {
|
||||
@Autowired
|
||||
private IByChildLearndevelopmentTeacherService byChildLearndevelopmentTeacherService;
|
||||
|
||||
/**
|
||||
* 查询儿童学习与发展档案(教师)列表
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('benyi:learndevelopmentteacher:list')")
|
||||
@GetMapping("/list")
|
||||
public TableDataInfo list(ByChildLearndevelopmentTeacher byChildLearndevelopmentTeacher) {
|
||||
startPage();
|
||||
List<ByChildLearndevelopmentTeacher> list = byChildLearndevelopmentTeacherService.selectByChildLearndevelopmentTeacherList(byChildLearndevelopmentTeacher);
|
||||
return getDataTable(list);
|
||||
}
|
||||
|
||||
/**
|
||||
* 导出儿童学习与发展档案(教师)列表
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('benyi:learndevelopmentteacher:export')")
|
||||
@Log(title = "儿童学习与发展档案(教师)", businessType = BusinessType.EXPORT)
|
||||
@GetMapping("/export")
|
||||
public AjaxResult export(ByChildLearndevelopmentTeacher byChildLearndevelopmentTeacher) {
|
||||
List<ByChildLearndevelopmentTeacher> list = byChildLearndevelopmentTeacherService.selectByChildLearndevelopmentTeacherList(byChildLearndevelopmentTeacher);
|
||||
ExcelUtil<ByChildLearndevelopmentTeacher> util = new ExcelUtil<ByChildLearndevelopmentTeacher>(ByChildLearndevelopmentTeacher.class);
|
||||
return util.exportExcel(list, "teacher");
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取儿童学习与发展档案(教师)详细信息
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('benyi:learndevelopmentteacher:query')")
|
||||
@GetMapping(value = "/{id}")
|
||||
public AjaxResult getInfo(@PathVariable("id") Long id) {
|
||||
return AjaxResult.success(byChildLearndevelopmentTeacherService.selectByChildLearndevelopmentTeacherById(id));
|
||||
}
|
||||
|
||||
/**
|
||||
* 新增儿童学习与发展档案(教师)
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('benyi:learndevelopmentteacher:add')")
|
||||
@Log(title = "儿童学习与发展档案(教师)", businessType = BusinessType.INSERT)
|
||||
@PostMapping
|
||||
public AjaxResult add(@RequestBody ByChildLearndevelopmentTeacher byChildLearndevelopmentTeacher) {
|
||||
return toAjax(byChildLearndevelopmentTeacherService.insertByChildLearndevelopmentTeacher(byChildLearndevelopmentTeacher));
|
||||
}
|
||||
|
||||
/**
|
||||
* 修改儿童学习与发展档案(教师)
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('benyi:learndevelopmentteacher:edit')")
|
||||
@Log(title = "儿童学习与发展档案(教师)", businessType = BusinessType.UPDATE)
|
||||
@PutMapping
|
||||
public AjaxResult edit(@RequestBody ByChildLearndevelopmentTeacher byChildLearndevelopmentTeacher) {
|
||||
return toAjax(byChildLearndevelopmentTeacherService.updateByChildLearndevelopmentTeacher(byChildLearndevelopmentTeacher));
|
||||
}
|
||||
|
||||
/**
|
||||
* 删除儿童学习与发展档案(教师)
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('benyi:learndevelopmentteacher:remove')")
|
||||
@Log(title = "儿童学习与发展档案(教师)", businessType = BusinessType.DELETE)
|
||||
@DeleteMapping("/{ids}")
|
||||
public AjaxResult remove(@PathVariable Long[] ids) {
|
||||
return toAjax(byChildLearndevelopmentTeacherService.deleteByChildLearndevelopmentTeacherByIds(ids));
|
||||
}
|
||||
}
|
@ -0,0 +1,202 @@
|
||||
package com.ruoyi.project.benyi.domain;
|
||||
|
||||
import org.apache.commons.lang3.builder.ToStringBuilder;
|
||||
import org.apache.commons.lang3.builder.ToStringStyle;
|
||||
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
|
||||
import com.ruoyi.framework.web.domain.BaseEntity;
|
||||
|
||||
/**
|
||||
* 儿童学习与发展档案(家长)对象 by_child_learndevelopment_family
|
||||
*
|
||||
* @author tsbz
|
||||
* @date 2020-08-10
|
||||
*/
|
||||
public class ByChildLearndevelopmentFamily extends BaseEntity {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* 编号
|
||||
*/
|
||||
private Long id;
|
||||
|
||||
/**
|
||||
* 幼儿id
|
||||
*/
|
||||
@Excel(name = "幼儿id")
|
||||
private Long childid;
|
||||
|
||||
/**
|
||||
* 学年学期
|
||||
*/
|
||||
@Excel(name = "学年学期")
|
||||
private String xnxq;
|
||||
|
||||
/**
|
||||
* 作品照片
|
||||
*/
|
||||
@Excel(name = "作品照片")
|
||||
private String zpimgs;
|
||||
|
||||
/**
|
||||
* 作品照片备注
|
||||
*/
|
||||
@Excel(name = "作品照片备注")
|
||||
private String zpimgremarks;
|
||||
|
||||
/**
|
||||
* 生活照片
|
||||
*/
|
||||
@Excel(name = "生活照片")
|
||||
private String shimgs;
|
||||
|
||||
/**
|
||||
* 生活照片备注
|
||||
*/
|
||||
@Excel(name = "生活照片备注")
|
||||
private String shimgsremarks;
|
||||
|
||||
/**
|
||||
* 有趣事件
|
||||
*/
|
||||
@Excel(name = "有趣事件")
|
||||
private String yqsj;
|
||||
|
||||
/**
|
||||
* 有趣事件备注
|
||||
*/
|
||||
@Excel(name = "有趣事件备注")
|
||||
private String yqsjremarks;
|
||||
|
||||
/**
|
||||
* 教师评语
|
||||
*/
|
||||
@Excel(name = "教师评语")
|
||||
private String jspy;
|
||||
|
||||
/**
|
||||
* 教师评语备注
|
||||
*/
|
||||
@Excel(name = "教师评语备注")
|
||||
private String jspyremarks;
|
||||
|
||||
/**
|
||||
* 创建人
|
||||
*/
|
||||
@Excel(name = "创建人")
|
||||
private Long createuserid;
|
||||
|
||||
public void setId(Long id) {
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
public Long getId() {
|
||||
return id;
|
||||
}
|
||||
|
||||
public void setChildid(Long childid) {
|
||||
this.childid = childid;
|
||||
}
|
||||
|
||||
public Long getChildid() {
|
||||
return childid;
|
||||
}
|
||||
|
||||
public void setXnxq(String xnxq) {
|
||||
this.xnxq = xnxq;
|
||||
}
|
||||
|
||||
public String getXnxq() {
|
||||
return xnxq;
|
||||
}
|
||||
|
||||
public void setZpimgs(String zpimgs) {
|
||||
this.zpimgs = zpimgs;
|
||||
}
|
||||
|
||||
public String getZpimgs() {
|
||||
return zpimgs;
|
||||
}
|
||||
|
||||
public void setZpimgremarks(String zpimgremarks) {
|
||||
this.zpimgremarks = zpimgremarks;
|
||||
}
|
||||
|
||||
public String getZpimgremarks() {
|
||||
return zpimgremarks;
|
||||
}
|
||||
|
||||
public void setShimgs(String shimgs) {
|
||||
this.shimgs = shimgs;
|
||||
}
|
||||
|
||||
public String getShimgs() {
|
||||
return shimgs;
|
||||
}
|
||||
|
||||
public void setShimgsremarks(String shimgsremarks) {
|
||||
this.shimgsremarks = shimgsremarks;
|
||||
}
|
||||
|
||||
public String getShimgsremarks() {
|
||||
return shimgsremarks;
|
||||
}
|
||||
|
||||
public void setYqsj(String yqsj) {
|
||||
this.yqsj = yqsj;
|
||||
}
|
||||
|
||||
public String getYqsj() {
|
||||
return yqsj;
|
||||
}
|
||||
|
||||
public void setYqsjremarks(String yqsjremarks) {
|
||||
this.yqsjremarks = yqsjremarks;
|
||||
}
|
||||
|
||||
public String getYqsjremarks() {
|
||||
return yqsjremarks;
|
||||
}
|
||||
|
||||
public void setJspy(String jspy) {
|
||||
this.jspy = jspy;
|
||||
}
|
||||
|
||||
public String getJspy() {
|
||||
return jspy;
|
||||
}
|
||||
|
||||
public void setJspyremarks(String jspyremarks) {
|
||||
this.jspyremarks = jspyremarks;
|
||||
}
|
||||
|
||||
public String getJspyremarks() {
|
||||
return jspyremarks;
|
||||
}
|
||||
|
||||
public void setCreateuserid(Long createuserid) {
|
||||
this.createuserid = createuserid;
|
||||
}
|
||||
|
||||
public Long getCreateuserid() {
|
||||
return createuserid;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
|
||||
.append("id", getId())
|
||||
.append("childid", getChildid())
|
||||
.append("xnxq", getXnxq())
|
||||
.append("zpimgs", getZpimgs())
|
||||
.append("zpimgremarks", getZpimgremarks())
|
||||
.append("shimgs", getShimgs())
|
||||
.append("shimgsremarks", getShimgsremarks())
|
||||
.append("yqsj", getYqsj())
|
||||
.append("yqsjremarks", getYqsjremarks())
|
||||
.append("jspy", getJspy())
|
||||
.append("jspyremarks", getJspyremarks())
|
||||
.append("createuserid", getCreateuserid())
|
||||
.append("createTime", getCreateTime())
|
||||
.toString();
|
||||
}
|
||||
}
|
@ -0,0 +1,202 @@
|
||||
package com.ruoyi.project.benyi.domain;
|
||||
|
||||
import org.apache.commons.lang3.builder.ToStringBuilder;
|
||||
import org.apache.commons.lang3.builder.ToStringStyle;
|
||||
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
|
||||
import com.ruoyi.framework.web.domain.BaseEntity;
|
||||
|
||||
/**
|
||||
* 儿童学习与发展档案(教师)对象 by_child_learndevelopment_teacher
|
||||
*
|
||||
* @author tsbz
|
||||
* @date 2020-08-10
|
||||
*/
|
||||
public class ByChildLearndevelopmentTeacher extends BaseEntity {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* 编号
|
||||
*/
|
||||
private Long id;
|
||||
|
||||
/**
|
||||
* 幼儿id
|
||||
*/
|
||||
@Excel(name = "幼儿id")
|
||||
private Long childid;
|
||||
|
||||
/**
|
||||
* 学年学期
|
||||
*/
|
||||
@Excel(name = "学年学期")
|
||||
private String xnxq;
|
||||
|
||||
/**
|
||||
* 观察记录
|
||||
*/
|
||||
@Excel(name = "观察记录")
|
||||
private String gcjl;
|
||||
|
||||
/**
|
||||
* 观察记录备注
|
||||
*/
|
||||
@Excel(name = "观察记录备注")
|
||||
private String gcjlremarks;
|
||||
|
||||
/**
|
||||
* 问题与方案
|
||||
*/
|
||||
@Excel(name = "问题与方案")
|
||||
private String wtyfa;
|
||||
|
||||
/**
|
||||
* 问题与方案备注
|
||||
*/
|
||||
@Excel(name = "问题与方案备注")
|
||||
private String wtyfaremarks;
|
||||
|
||||
/**
|
||||
* 评估结果
|
||||
*/
|
||||
@Excel(name = "评估结果")
|
||||
private String pgjg;
|
||||
|
||||
/**
|
||||
* 评估结果备注
|
||||
*/
|
||||
@Excel(name = "评估结果备注")
|
||||
private String pgjgremarks;
|
||||
|
||||
/**
|
||||
* 教育计划
|
||||
*/
|
||||
@Excel(name = "教育计划")
|
||||
private String jyjh;
|
||||
|
||||
/**
|
||||
* 教育计划备注
|
||||
*/
|
||||
@Excel(name = "教育计划备注")
|
||||
private String jyjhremarks;
|
||||
|
||||
/**
|
||||
* 创建人
|
||||
*/
|
||||
@Excel(name = "创建人")
|
||||
private Long createuserid;
|
||||
|
||||
public void setId(Long id) {
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
public Long getId() {
|
||||
return id;
|
||||
}
|
||||
|
||||
public void setChildid(Long childid) {
|
||||
this.childid = childid;
|
||||
}
|
||||
|
||||
public Long getChildid() {
|
||||
return childid;
|
||||
}
|
||||
|
||||
public void setXnxq(String xnxq) {
|
||||
this.xnxq = xnxq;
|
||||
}
|
||||
|
||||
public String getXnxq() {
|
||||
return xnxq;
|
||||
}
|
||||
|
||||
public void setGcjl(String gcjl) {
|
||||
this.gcjl = gcjl;
|
||||
}
|
||||
|
||||
public String getGcjl() {
|
||||
return gcjl;
|
||||
}
|
||||
|
||||
public void setGcjlremarks(String gcjlremarks) {
|
||||
this.gcjlremarks = gcjlremarks;
|
||||
}
|
||||
|
||||
public String getGcjlremarks() {
|
||||
return gcjlremarks;
|
||||
}
|
||||
|
||||
public void setWtyfa(String wtyfa) {
|
||||
this.wtyfa = wtyfa;
|
||||
}
|
||||
|
||||
public String getWtyfa() {
|
||||
return wtyfa;
|
||||
}
|
||||
|
||||
public void setWtyfaremarks(String wtyfaremarks) {
|
||||
this.wtyfaremarks = wtyfaremarks;
|
||||
}
|
||||
|
||||
public String getWtyfaremarks() {
|
||||
return wtyfaremarks;
|
||||
}
|
||||
|
||||
public void setPgjg(String pgjg) {
|
||||
this.pgjg = pgjg;
|
||||
}
|
||||
|
||||
public String getPgjg() {
|
||||
return pgjg;
|
||||
}
|
||||
|
||||
public void setPgjgremarks(String pgjgremarks) {
|
||||
this.pgjgremarks = pgjgremarks;
|
||||
}
|
||||
|
||||
public String getPgjgremarks() {
|
||||
return pgjgremarks;
|
||||
}
|
||||
|
||||
public void setJyjh(String jyjh) {
|
||||
this.jyjh = jyjh;
|
||||
}
|
||||
|
||||
public String getJyjh() {
|
||||
return jyjh;
|
||||
}
|
||||
|
||||
public void setJyjhremarks(String jyjhremarks) {
|
||||
this.jyjhremarks = jyjhremarks;
|
||||
}
|
||||
|
||||
public String getJyjhremarks() {
|
||||
return jyjhremarks;
|
||||
}
|
||||
|
||||
public void setCreateuserid(Long createuserid) {
|
||||
this.createuserid = createuserid;
|
||||
}
|
||||
|
||||
public Long getCreateuserid() {
|
||||
return createuserid;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
|
||||
.append("id", getId())
|
||||
.append("childid", getChildid())
|
||||
.append("xnxq", getXnxq())
|
||||
.append("gcjl", getGcjl())
|
||||
.append("gcjlremarks", getGcjlremarks())
|
||||
.append("wtyfa", getWtyfa())
|
||||
.append("wtyfaremarks", getWtyfaremarks())
|
||||
.append("pgjg", getPgjg())
|
||||
.append("pgjgremarks", getPgjgremarks())
|
||||
.append("jyjh", getJyjh())
|
||||
.append("jyjhremarks", getJyjhremarks())
|
||||
.append("createuserid", getCreateuserid())
|
||||
.append("createTime", getCreateTime())
|
||||
.toString();
|
||||
}
|
||||
}
|
@ -0,0 +1,61 @@
|
||||
package com.ruoyi.project.benyi.mapper;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
import com.ruoyi.project.benyi.domain.ByChildLearndevelopmentFamily;
|
||||
|
||||
/**
|
||||
* 儿童学习与发展档案(家长)Mapper接口
|
||||
*
|
||||
* @author tsbz
|
||||
* @date 2020-08-10
|
||||
*/
|
||||
public interface ByChildLearndevelopmentFamilyMapper {
|
||||
/**
|
||||
* 查询儿童学习与发展档案(家长)
|
||||
*
|
||||
* @param id 儿童学习与发展档案(家长)ID
|
||||
* @return 儿童学习与发展档案(家长)
|
||||
*/
|
||||
public ByChildLearndevelopmentFamily selectByChildLearndevelopmentFamilyById(Long id);
|
||||
|
||||
/**
|
||||
* 查询儿童学习与发展档案(家长)列表
|
||||
*
|
||||
* @param byChildLearndevelopmentFamily 儿童学习与发展档案(家长)
|
||||
* @return 儿童学习与发展档案(家长)集合
|
||||
*/
|
||||
public List<ByChildLearndevelopmentFamily> selectByChildLearndevelopmentFamilyList(ByChildLearndevelopmentFamily byChildLearndevelopmentFamily);
|
||||
|
||||
/**
|
||||
* 新增儿童学习与发展档案(家长)
|
||||
*
|
||||
* @param byChildLearndevelopmentFamily 儿童学习与发展档案(家长)
|
||||
* @return 结果
|
||||
*/
|
||||
public int insertByChildLearndevelopmentFamily(ByChildLearndevelopmentFamily byChildLearndevelopmentFamily);
|
||||
|
||||
/**
|
||||
* 修改儿童学习与发展档案(家长)
|
||||
*
|
||||
* @param byChildLearndevelopmentFamily 儿童学习与发展档案(家长)
|
||||
* @return 结果
|
||||
*/
|
||||
public int updateByChildLearndevelopmentFamily(ByChildLearndevelopmentFamily byChildLearndevelopmentFamily);
|
||||
|
||||
/**
|
||||
* 删除儿童学习与发展档案(家长)
|
||||
*
|
||||
* @param id 儿童学习与发展档案(家长)ID
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteByChildLearndevelopmentFamilyById(Long id);
|
||||
|
||||
/**
|
||||
* 批量删除儿童学习与发展档案(家长)
|
||||
*
|
||||
* @param ids 需要删除的数据ID
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteByChildLearndevelopmentFamilyByIds(Long[] ids);
|
||||
}
|
@ -0,0 +1,61 @@
|
||||
package com.ruoyi.project.benyi.mapper;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
import com.ruoyi.project.benyi.domain.ByChildLearndevelopmentTeacher;
|
||||
|
||||
/**
|
||||
* 儿童学习与发展档案(教师)Mapper接口
|
||||
*
|
||||
* @author tsbz
|
||||
* @date 2020-08-10
|
||||
*/
|
||||
public interface ByChildLearndevelopmentTeacherMapper {
|
||||
/**
|
||||
* 查询儿童学习与发展档案(教师)
|
||||
*
|
||||
* @param id 儿童学习与发展档案(教师)ID
|
||||
* @return 儿童学习与发展档案(教师)
|
||||
*/
|
||||
public ByChildLearndevelopmentTeacher selectByChildLearndevelopmentTeacherById(Long id);
|
||||
|
||||
/**
|
||||
* 查询儿童学习与发展档案(教师)列表
|
||||
*
|
||||
* @param byChildLearndevelopmentTeacher 儿童学习与发展档案(教师)
|
||||
* @return 儿童学习与发展档案(教师)集合
|
||||
*/
|
||||
public List<ByChildLearndevelopmentTeacher> selectByChildLearndevelopmentTeacherList(ByChildLearndevelopmentTeacher byChildLearndevelopmentTeacher);
|
||||
|
||||
/**
|
||||
* 新增儿童学习与发展档案(教师)
|
||||
*
|
||||
* @param byChildLearndevelopmentTeacher 儿童学习与发展档案(教师)
|
||||
* @return 结果
|
||||
*/
|
||||
public int insertByChildLearndevelopmentTeacher(ByChildLearndevelopmentTeacher byChildLearndevelopmentTeacher);
|
||||
|
||||
/**
|
||||
* 修改儿童学习与发展档案(教师)
|
||||
*
|
||||
* @param byChildLearndevelopmentTeacher 儿童学习与发展档案(教师)
|
||||
* @return 结果
|
||||
*/
|
||||
public int updateByChildLearndevelopmentTeacher(ByChildLearndevelopmentTeacher byChildLearndevelopmentTeacher);
|
||||
|
||||
/**
|
||||
* 删除儿童学习与发展档案(教师)
|
||||
*
|
||||
* @param id 儿童学习与发展档案(教师)ID
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteByChildLearndevelopmentTeacherById(Long id);
|
||||
|
||||
/**
|
||||
* 批量删除儿童学习与发展档案(教师)
|
||||
*
|
||||
* @param ids 需要删除的数据ID
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteByChildLearndevelopmentTeacherByIds(Long[] ids);
|
||||
}
|
@ -0,0 +1,61 @@
|
||||
package com.ruoyi.project.benyi.service;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
import com.ruoyi.project.benyi.domain.ByChildLearndevelopmentFamily;
|
||||
|
||||
/**
|
||||
* 儿童学习与发展档案(家长)Service接口
|
||||
*
|
||||
* @author tsbz
|
||||
* @date 2020-08-10
|
||||
*/
|
||||
public interface IByChildLearndevelopmentFamilyService {
|
||||
/**
|
||||
* 查询儿童学习与发展档案(家长)
|
||||
*
|
||||
* @param id 儿童学习与发展档案(家长)ID
|
||||
* @return 儿童学习与发展档案(家长)
|
||||
*/
|
||||
public ByChildLearndevelopmentFamily selectByChildLearndevelopmentFamilyById(Long id);
|
||||
|
||||
/**
|
||||
* 查询儿童学习与发展档案(家长)列表
|
||||
*
|
||||
* @param byChildLearndevelopmentFamily 儿童学习与发展档案(家长)
|
||||
* @return 儿童学习与发展档案(家长)集合
|
||||
*/
|
||||
public List<ByChildLearndevelopmentFamily> selectByChildLearndevelopmentFamilyList(ByChildLearndevelopmentFamily byChildLearndevelopmentFamily);
|
||||
|
||||
/**
|
||||
* 新增儿童学习与发展档案(家长)
|
||||
*
|
||||
* @param byChildLearndevelopmentFamily 儿童学习与发展档案(家长)
|
||||
* @return 结果
|
||||
*/
|
||||
public int insertByChildLearndevelopmentFamily(ByChildLearndevelopmentFamily byChildLearndevelopmentFamily);
|
||||
|
||||
/**
|
||||
* 修改儿童学习与发展档案(家长)
|
||||
*
|
||||
* @param byChildLearndevelopmentFamily 儿童学习与发展档案(家长)
|
||||
* @return 结果
|
||||
*/
|
||||
public int updateByChildLearndevelopmentFamily(ByChildLearndevelopmentFamily byChildLearndevelopmentFamily);
|
||||
|
||||
/**
|
||||
* 批量删除儿童学习与发展档案(家长)
|
||||
*
|
||||
* @param ids 需要删除的儿童学习与发展档案(家长)ID
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteByChildLearndevelopmentFamilyByIds(Long[] ids);
|
||||
|
||||
/**
|
||||
* 删除儿童学习与发展档案(家长)信息
|
||||
*
|
||||
* @param id 儿童学习与发展档案(家长)ID
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteByChildLearndevelopmentFamilyById(Long id);
|
||||
}
|
@ -0,0 +1,61 @@
|
||||
package com.ruoyi.project.benyi.service;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
import com.ruoyi.project.benyi.domain.ByChildLearndevelopmentTeacher;
|
||||
|
||||
/**
|
||||
* 儿童学习与发展档案(教师)Service接口
|
||||
*
|
||||
* @author tsbz
|
||||
* @date 2020-08-10
|
||||
*/
|
||||
public interface IByChildLearndevelopmentTeacherService {
|
||||
/**
|
||||
* 查询儿童学习与发展档案(教师)
|
||||
*
|
||||
* @param id 儿童学习与发展档案(教师)ID
|
||||
* @return 儿童学习与发展档案(教师)
|
||||
*/
|
||||
public ByChildLearndevelopmentTeacher selectByChildLearndevelopmentTeacherById(Long id);
|
||||
|
||||
/**
|
||||
* 查询儿童学习与发展档案(教师)列表
|
||||
*
|
||||
* @param byChildLearndevelopmentTeacher 儿童学习与发展档案(教师)
|
||||
* @return 儿童学习与发展档案(教师)集合
|
||||
*/
|
||||
public List<ByChildLearndevelopmentTeacher> selectByChildLearndevelopmentTeacherList(ByChildLearndevelopmentTeacher byChildLearndevelopmentTeacher);
|
||||
|
||||
/**
|
||||
* 新增儿童学习与发展档案(教师)
|
||||
*
|
||||
* @param byChildLearndevelopmentTeacher 儿童学习与发展档案(教师)
|
||||
* @return 结果
|
||||
*/
|
||||
public int insertByChildLearndevelopmentTeacher(ByChildLearndevelopmentTeacher byChildLearndevelopmentTeacher);
|
||||
|
||||
/**
|
||||
* 修改儿童学习与发展档案(教师)
|
||||
*
|
||||
* @param byChildLearndevelopmentTeacher 儿童学习与发展档案(教师)
|
||||
* @return 结果
|
||||
*/
|
||||
public int updateByChildLearndevelopmentTeacher(ByChildLearndevelopmentTeacher byChildLearndevelopmentTeacher);
|
||||
|
||||
/**
|
||||
* 批量删除儿童学习与发展档案(教师)
|
||||
*
|
||||
* @param ids 需要删除的儿童学习与发展档案(教师)ID
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteByChildLearndevelopmentTeacherByIds(Long[] ids);
|
||||
|
||||
/**
|
||||
* 删除儿童学习与发展档案(教师)信息
|
||||
*
|
||||
* @param id 儿童学习与发展档案(教师)ID
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteByChildLearndevelopmentTeacherById(Long id);
|
||||
}
|
@ -0,0 +1,89 @@
|
||||
package com.ruoyi.project.benyi.service.impl;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
import com.ruoyi.common.utils.DateUtils;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.stereotype.Service;
|
||||
import com.ruoyi.project.benyi.mapper.ByChildLearndevelopmentFamilyMapper;
|
||||
import com.ruoyi.project.benyi.domain.ByChildLearndevelopmentFamily;
|
||||
import com.ruoyi.project.benyi.service.IByChildLearndevelopmentFamilyService;
|
||||
|
||||
/**
|
||||
* 儿童学习与发展档案(家长)Service业务层处理
|
||||
*
|
||||
* @author tsbz
|
||||
* @date 2020-08-10
|
||||
*/
|
||||
@Service
|
||||
public class ByChildLearndevelopmentFamilyServiceImpl implements IByChildLearndevelopmentFamilyService {
|
||||
@Autowired
|
||||
private ByChildLearndevelopmentFamilyMapper byChildLearndevelopmentFamilyMapper;
|
||||
|
||||
/**
|
||||
* 查询儿童学习与发展档案(家长)
|
||||
*
|
||||
* @param id 儿童学习与发展档案(家长)ID
|
||||
* @return 儿童学习与发展档案(家长)
|
||||
*/
|
||||
@Override
|
||||
public ByChildLearndevelopmentFamily selectByChildLearndevelopmentFamilyById(Long id) {
|
||||
return byChildLearndevelopmentFamilyMapper.selectByChildLearndevelopmentFamilyById(id);
|
||||
}
|
||||
|
||||
/**
|
||||
* 查询儿童学习与发展档案(家长)列表
|
||||
*
|
||||
* @param byChildLearndevelopmentFamily 儿童学习与发展档案(家长)
|
||||
* @return 儿童学习与发展档案(家长)
|
||||
*/
|
||||
@Override
|
||||
public List<ByChildLearndevelopmentFamily> selectByChildLearndevelopmentFamilyList(ByChildLearndevelopmentFamily byChildLearndevelopmentFamily) {
|
||||
return byChildLearndevelopmentFamilyMapper.selectByChildLearndevelopmentFamilyList(byChildLearndevelopmentFamily);
|
||||
}
|
||||
|
||||
/**
|
||||
* 新增儿童学习与发展档案(家长)
|
||||
*
|
||||
* @param byChildLearndevelopmentFamily 儿童学习与发展档案(家长)
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int insertByChildLearndevelopmentFamily(ByChildLearndevelopmentFamily byChildLearndevelopmentFamily) {
|
||||
byChildLearndevelopmentFamily.setCreateTime(DateUtils.getNowDate());
|
||||
return byChildLearndevelopmentFamilyMapper.insertByChildLearndevelopmentFamily(byChildLearndevelopmentFamily);
|
||||
}
|
||||
|
||||
/**
|
||||
* 修改儿童学习与发展档案(家长)
|
||||
*
|
||||
* @param byChildLearndevelopmentFamily 儿童学习与发展档案(家长)
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int updateByChildLearndevelopmentFamily(ByChildLearndevelopmentFamily byChildLearndevelopmentFamily) {
|
||||
return byChildLearndevelopmentFamilyMapper.updateByChildLearndevelopmentFamily(byChildLearndevelopmentFamily);
|
||||
}
|
||||
|
||||
/**
|
||||
* 批量删除儿童学习与发展档案(家长)
|
||||
*
|
||||
* @param ids 需要删除的儿童学习与发展档案(家长)ID
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int deleteByChildLearndevelopmentFamilyByIds(Long[] ids) {
|
||||
return byChildLearndevelopmentFamilyMapper.deleteByChildLearndevelopmentFamilyByIds(ids);
|
||||
}
|
||||
|
||||
/**
|
||||
* 删除儿童学习与发展档案(家长)信息
|
||||
*
|
||||
* @param id 儿童学习与发展档案(家长)ID
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int deleteByChildLearndevelopmentFamilyById(Long id) {
|
||||
return byChildLearndevelopmentFamilyMapper.deleteByChildLearndevelopmentFamilyById(id);
|
||||
}
|
||||
}
|
@ -0,0 +1,89 @@
|
||||
package com.ruoyi.project.benyi.service.impl;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
import com.ruoyi.common.utils.DateUtils;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.stereotype.Service;
|
||||
import com.ruoyi.project.benyi.mapper.ByChildLearndevelopmentTeacherMapper;
|
||||
import com.ruoyi.project.benyi.domain.ByChildLearndevelopmentTeacher;
|
||||
import com.ruoyi.project.benyi.service.IByChildLearndevelopmentTeacherService;
|
||||
|
||||
/**
|
||||
* 儿童学习与发展档案(教师)Service业务层处理
|
||||
*
|
||||
* @author tsbz
|
||||
* @date 2020-08-10
|
||||
*/
|
||||
@Service
|
||||
public class ByChildLearndevelopmentTeacherServiceImpl implements IByChildLearndevelopmentTeacherService {
|
||||
@Autowired
|
||||
private ByChildLearndevelopmentTeacherMapper byChildLearndevelopmentTeacherMapper;
|
||||
|
||||
/**
|
||||
* 查询儿童学习与发展档案(教师)
|
||||
*
|
||||
* @param id 儿童学习与发展档案(教师)ID
|
||||
* @return 儿童学习与发展档案(教师)
|
||||
*/
|
||||
@Override
|
||||
public ByChildLearndevelopmentTeacher selectByChildLearndevelopmentTeacherById(Long id) {
|
||||
return byChildLearndevelopmentTeacherMapper.selectByChildLearndevelopmentTeacherById(id);
|
||||
}
|
||||
|
||||
/**
|
||||
* 查询儿童学习与发展档案(教师)列表
|
||||
*
|
||||
* @param byChildLearndevelopmentTeacher 儿童学习与发展档案(教师)
|
||||
* @return 儿童学习与发展档案(教师)
|
||||
*/
|
||||
@Override
|
||||
public List<ByChildLearndevelopmentTeacher> selectByChildLearndevelopmentTeacherList(ByChildLearndevelopmentTeacher byChildLearndevelopmentTeacher) {
|
||||
return byChildLearndevelopmentTeacherMapper.selectByChildLearndevelopmentTeacherList(byChildLearndevelopmentTeacher);
|
||||
}
|
||||
|
||||
/**
|
||||
* 新增儿童学习与发展档案(教师)
|
||||
*
|
||||
* @param byChildLearndevelopmentTeacher 儿童学习与发展档案(教师)
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int insertByChildLearndevelopmentTeacher(ByChildLearndevelopmentTeacher byChildLearndevelopmentTeacher) {
|
||||
byChildLearndevelopmentTeacher.setCreateTime(DateUtils.getNowDate());
|
||||
return byChildLearndevelopmentTeacherMapper.insertByChildLearndevelopmentTeacher(byChildLearndevelopmentTeacher);
|
||||
}
|
||||
|
||||
/**
|
||||
* 修改儿童学习与发展档案(教师)
|
||||
*
|
||||
* @param byChildLearndevelopmentTeacher 儿童学习与发展档案(教师)
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int updateByChildLearndevelopmentTeacher(ByChildLearndevelopmentTeacher byChildLearndevelopmentTeacher) {
|
||||
return byChildLearndevelopmentTeacherMapper.updateByChildLearndevelopmentTeacher(byChildLearndevelopmentTeacher);
|
||||
}
|
||||
|
||||
/**
|
||||
* 批量删除儿童学习与发展档案(教师)
|
||||
*
|
||||
* @param ids 需要删除的儿童学习与发展档案(教师)ID
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int deleteByChildLearndevelopmentTeacherByIds(Long[] ids) {
|
||||
return byChildLearndevelopmentTeacherMapper.deleteByChildLearndevelopmentTeacherByIds(ids);
|
||||
}
|
||||
|
||||
/**
|
||||
* 删除儿童学习与发展档案(教师)信息
|
||||
*
|
||||
* @param id 儿童学习与发展档案(教师)ID
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int deleteByChildLearndevelopmentTeacherById(Long id) {
|
||||
return byChildLearndevelopmentTeacherMapper.deleteByChildLearndevelopmentTeacherById(id);
|
||||
}
|
||||
}
|
@ -0,0 +1,115 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<!DOCTYPE mapper
|
||||
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
||||
<mapper namespace="com.ruoyi.project.benyi.mapper.ByChildLearndevelopmentFamilyMapper">
|
||||
|
||||
<resultMap type="ByChildLearndevelopmentFamily" id="ByChildLearndevelopmentFamilyResult">
|
||||
<result property="id" column="id"/>
|
||||
<result property="childid" column="childid"/>
|
||||
<result property="xnxq" column="xnxq"/>
|
||||
<result property="zpimgs" column="zpimgs"/>
|
||||
<result property="zpimgremarks" column="zpimgremarks"/>
|
||||
<result property="shimgs" column="shimgs"/>
|
||||
<result property="shimgsremarks" column="shimgsremarks"/>
|
||||
<result property="yqsj" column="yqsj"/>
|
||||
<result property="yqsjremarks" column="yqsjremarks"/>
|
||||
<result property="jspy" column="jspy"/>
|
||||
<result property="jspyremarks" column="jspyremarks"/>
|
||||
<result property="createuserid" column="createuserid"/>
|
||||
<result property="createTime" column="create_time"/>
|
||||
</resultMap>
|
||||
|
||||
<sql id="selectByChildLearndevelopmentFamilyVo">
|
||||
select id, childid, xnxq, zpimgs, zpimgremarks, shimgs, shimgsremarks, yqsj, yqsjremarks, jspy, jspyremarks, createuserid, create_time from by_child_learndevelopment_family
|
||||
</sql>
|
||||
|
||||
<select id="selectByChildLearndevelopmentFamilyList" parameterType="ByChildLearndevelopmentFamily"
|
||||
resultMap="ByChildLearndevelopmentFamilyResult">
|
||||
<include refid="selectByChildLearndevelopmentFamilyVo"/>
|
||||
<where>
|
||||
<if test="childid != null ">and childid = #{childid}</if>
|
||||
<if test="xnxq != null and xnxq != ''">and xnxq = #{xnxq}</if>
|
||||
<if test="zpimgs != null and zpimgs != ''">and zpimgs = #{zpimgs}</if>
|
||||
<if test="zpimgremarks != null and zpimgremarks != ''">and zpimgremarks = #{zpimgremarks}</if>
|
||||
<if test="shimgs != null and shimgs != ''">and shimgs = #{shimgs}</if>
|
||||
<if test="shimgsremarks != null and shimgsremarks != ''">and shimgsremarks = #{shimgsremarks}</if>
|
||||
<if test="yqsj != null and yqsj != ''">and yqsj = #{yqsj}</if>
|
||||
<if test="yqsjremarks != null and yqsjremarks != ''">and yqsjremarks = #{yqsjremarks}</if>
|
||||
<if test="jspy != null and jspy != ''">and jspy = #{jspy}</if>
|
||||
<if test="jspyremarks != null and jspyremarks != ''">and jspyremarks = #{jspyremarks}</if>
|
||||
<if test="createuserid != null ">and createuserid = #{createuserid}</if>
|
||||
</where>
|
||||
</select>
|
||||
|
||||
<select id="selectByChildLearndevelopmentFamilyById" parameterType="Long"
|
||||
resultMap="ByChildLearndevelopmentFamilyResult">
|
||||
<include refid="selectByChildLearndevelopmentFamilyVo"/>
|
||||
where id = #{id}
|
||||
</select>
|
||||
|
||||
<insert id="insertByChildLearndevelopmentFamily" parameterType="ByChildLearndevelopmentFamily">
|
||||
insert into by_child_learndevelopment_family
|
||||
<trim prefix="(" suffix=")" suffixOverrides=",">
|
||||
<if test="id != null ">id,</if>
|
||||
<if test="childid != null ">childid,</if>
|
||||
<if test="xnxq != null and xnxq != ''">xnxq,</if>
|
||||
<if test="zpimgs != null and zpimgs != ''">zpimgs,</if>
|
||||
<if test="zpimgremarks != null and zpimgremarks != ''">zpimgremarks,</if>
|
||||
<if test="shimgs != null and shimgs != ''">shimgs,</if>
|
||||
<if test="shimgsremarks != null and shimgsremarks != ''">shimgsremarks,</if>
|
||||
<if test="yqsj != null and yqsj != ''">yqsj,</if>
|
||||
<if test="yqsjremarks != null and yqsjremarks != ''">yqsjremarks,</if>
|
||||
<if test="jspy != null and jspy != ''">jspy,</if>
|
||||
<if test="jspyremarks != null and jspyremarks != ''">jspyremarks,</if>
|
||||
<if test="createuserid != null ">createuserid,</if>
|
||||
<if test="createTime != null ">create_time,</if>
|
||||
</trim>
|
||||
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
||||
<if test="id != null ">#{id},</if>
|
||||
<if test="childid != null ">#{childid},</if>
|
||||
<if test="xnxq != null and xnxq != ''">#{xnxq},</if>
|
||||
<if test="zpimgs != null and zpimgs != ''">#{zpimgs},</if>
|
||||
<if test="zpimgremarks != null and zpimgremarks != ''">#{zpimgremarks},</if>
|
||||
<if test="shimgs != null and shimgs != ''">#{shimgs},</if>
|
||||
<if test="shimgsremarks != null and shimgsremarks != ''">#{shimgsremarks},</if>
|
||||
<if test="yqsj != null and yqsj != ''">#{yqsj},</if>
|
||||
<if test="yqsjremarks != null and yqsjremarks != ''">#{yqsjremarks},</if>
|
||||
<if test="jspy != null and jspy != ''">#{jspy},</if>
|
||||
<if test="jspyremarks != null and jspyremarks != ''">#{jspyremarks},</if>
|
||||
<if test="createuserid != null ">#{createuserid},</if>
|
||||
<if test="createTime != null ">#{createTime},</if>
|
||||
</trim>
|
||||
</insert>
|
||||
|
||||
<update id="updateByChildLearndevelopmentFamily" parameterType="ByChildLearndevelopmentFamily">
|
||||
update by_child_learndevelopment_family
|
||||
<trim prefix="SET" suffixOverrides=",">
|
||||
<if test="childid != null ">childid = #{childid},</if>
|
||||
<if test="xnxq != null and xnxq != ''">xnxq = #{xnxq},</if>
|
||||
<if test="zpimgs != null and zpimgs != ''">zpimgs = #{zpimgs},</if>
|
||||
<if test="zpimgremarks != null and zpimgremarks != ''">zpimgremarks = #{zpimgremarks},</if>
|
||||
<if test="shimgs != null and shimgs != ''">shimgs = #{shimgs},</if>
|
||||
<if test="shimgsremarks != null and shimgsremarks != ''">shimgsremarks = #{shimgsremarks},</if>
|
||||
<if test="yqsj != null and yqsj != ''">yqsj = #{yqsj},</if>
|
||||
<if test="yqsjremarks != null and yqsjremarks != ''">yqsjremarks = #{yqsjremarks},</if>
|
||||
<if test="jspy != null and jspy != ''">jspy = #{jspy},</if>
|
||||
<if test="jspyremarks != null and jspyremarks != ''">jspyremarks = #{jspyremarks},</if>
|
||||
<if test="createuserid != null ">createuserid = #{createuserid},</if>
|
||||
<if test="createTime != null ">create_time = #{createTime},</if>
|
||||
</trim>
|
||||
where id = #{id}
|
||||
</update>
|
||||
|
||||
<delete id="deleteByChildLearndevelopmentFamilyById" parameterType="Long">
|
||||
delete from by_child_learndevelopment_family where id = #{id}
|
||||
</delete>
|
||||
|
||||
<delete id="deleteByChildLearndevelopmentFamilyByIds" parameterType="String">
|
||||
delete from by_child_learndevelopment_family where id in
|
||||
<foreach item="id" collection="array" open="(" separator="," close=")">
|
||||
#{id}
|
||||
</foreach>
|
||||
</delete>
|
||||
|
||||
</mapper>
|
@ -0,0 +1,115 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<!DOCTYPE mapper
|
||||
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
||||
<mapper namespace="com.ruoyi.project.benyi.mapper.ByChildLearndevelopmentTeacherMapper">
|
||||
|
||||
<resultMap type="ByChildLearndevelopmentTeacher" id="ByChildLearndevelopmentTeacherResult">
|
||||
<result property="id" column="id"/>
|
||||
<result property="childid" column="childid"/>
|
||||
<result property="xnxq" column="xnxq"/>
|
||||
<result property="gcjl" column="gcjl"/>
|
||||
<result property="gcjlremarks" column="gcjlremarks"/>
|
||||
<result property="wtyfa" column="wtyfa"/>
|
||||
<result property="wtyfaremarks" column="wtyfaremarks"/>
|
||||
<result property="pgjg" column="pgjg"/>
|
||||
<result property="pgjgremarks" column="pgjgremarks"/>
|
||||
<result property="jyjh" column="jyjh"/>
|
||||
<result property="jyjhremarks" column="jyjhremarks"/>
|
||||
<result property="createuserid" column="createuserid"/>
|
||||
<result property="createTime" column="create_time"/>
|
||||
</resultMap>
|
||||
|
||||
<sql id="selectByChildLearndevelopmentTeacherVo">
|
||||
select id, childid, xnxq, gcjl, gcjlremarks, wtyfa, wtyfaremarks, pgjg, pgjgremarks, jyjh, jyjhremarks, createuserid, create_time from by_child_learndevelopment_teacher
|
||||
</sql>
|
||||
|
||||
<select id="selectByChildLearndevelopmentTeacherList" parameterType="ByChildLearndevelopmentTeacher"
|
||||
resultMap="ByChildLearndevelopmentTeacherResult">
|
||||
<include refid="selectByChildLearndevelopmentTeacherVo"/>
|
||||
<where>
|
||||
<if test="childid != null ">and childid = #{childid}</if>
|
||||
<if test="xnxq != null and xnxq != ''">and xnxq = #{xnxq}</if>
|
||||
<if test="gcjl != null and gcjl != ''">and gcjl = #{gcjl}</if>
|
||||
<if test="gcjlremarks != null and gcjlremarks != ''">and gcjlremarks = #{gcjlremarks}</if>
|
||||
<if test="wtyfa != null and wtyfa != ''">and wtyfa = #{wtyfa}</if>
|
||||
<if test="wtyfaremarks != null and wtyfaremarks != ''">and wtyfaremarks = #{wtyfaremarks}</if>
|
||||
<if test="pgjg != null and pgjg != ''">and pgjg = #{pgjg}</if>
|
||||
<if test="pgjgremarks != null and pgjgremarks != ''">and pgjgremarks = #{pgjgremarks}</if>
|
||||
<if test="jyjh != null and jyjh != ''">and jyjh = #{jyjh}</if>
|
||||
<if test="jyjhremarks != null and jyjhremarks != ''">and jyjhremarks = #{jyjhremarks}</if>
|
||||
<if test="createuserid != null ">and createuserid = #{createuserid}</if>
|
||||
</where>
|
||||
</select>
|
||||
|
||||
<select id="selectByChildLearndevelopmentTeacherById" parameterType="Long"
|
||||
resultMap="ByChildLearndevelopmentTeacherResult">
|
||||
<include refid="selectByChildLearndevelopmentTeacherVo"/>
|
||||
where id = #{id}
|
||||
</select>
|
||||
|
||||
<insert id="insertByChildLearndevelopmentTeacher" parameterType="ByChildLearndevelopmentTeacher">
|
||||
insert into by_child_learndevelopment_teacher
|
||||
<trim prefix="(" suffix=")" suffixOverrides=",">
|
||||
<if test="id != null ">id,</if>
|
||||
<if test="childid != null ">childid,</if>
|
||||
<if test="xnxq != null and xnxq != ''">xnxq,</if>
|
||||
<if test="gcjl != null and gcjl != ''">gcjl,</if>
|
||||
<if test="gcjlremarks != null and gcjlremarks != ''">gcjlremarks,</if>
|
||||
<if test="wtyfa != null and wtyfa != ''">wtyfa,</if>
|
||||
<if test="wtyfaremarks != null and wtyfaremarks != ''">wtyfaremarks,</if>
|
||||
<if test="pgjg != null and pgjg != ''">pgjg,</if>
|
||||
<if test="pgjgremarks != null and pgjgremarks != ''">pgjgremarks,</if>
|
||||
<if test="jyjh != null and jyjh != ''">jyjh,</if>
|
||||
<if test="jyjhremarks != null and jyjhremarks != ''">jyjhremarks,</if>
|
||||
<if test="createuserid != null ">createuserid,</if>
|
||||
<if test="createTime != null ">create_time,</if>
|
||||
</trim>
|
||||
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
||||
<if test="id != null ">#{id},</if>
|
||||
<if test="childid != null ">#{childid},</if>
|
||||
<if test="xnxq != null and xnxq != ''">#{xnxq},</if>
|
||||
<if test="gcjl != null and gcjl != ''">#{gcjl},</if>
|
||||
<if test="gcjlremarks != null and gcjlremarks != ''">#{gcjlremarks},</if>
|
||||
<if test="wtyfa != null and wtyfa != ''">#{wtyfa},</if>
|
||||
<if test="wtyfaremarks != null and wtyfaremarks != ''">#{wtyfaremarks},</if>
|
||||
<if test="pgjg != null and pgjg != ''">#{pgjg},</if>
|
||||
<if test="pgjgremarks != null and pgjgremarks != ''">#{pgjgremarks},</if>
|
||||
<if test="jyjh != null and jyjh != ''">#{jyjh},</if>
|
||||
<if test="jyjhremarks != null and jyjhremarks != ''">#{jyjhremarks},</if>
|
||||
<if test="createuserid != null ">#{createuserid},</if>
|
||||
<if test="createTime != null ">#{createTime},</if>
|
||||
</trim>
|
||||
</insert>
|
||||
|
||||
<update id="updateByChildLearndevelopmentTeacher" parameterType="ByChildLearndevelopmentTeacher">
|
||||
update by_child_learndevelopment_teacher
|
||||
<trim prefix="SET" suffixOverrides=",">
|
||||
<if test="childid != null ">childid = #{childid},</if>
|
||||
<if test="xnxq != null and xnxq != ''">xnxq = #{xnxq},</if>
|
||||
<if test="gcjl != null and gcjl != ''">gcjl = #{gcjl},</if>
|
||||
<if test="gcjlremarks != null and gcjlremarks != ''">gcjlremarks = #{gcjlremarks},</if>
|
||||
<if test="wtyfa != null and wtyfa != ''">wtyfa = #{wtyfa},</if>
|
||||
<if test="wtyfaremarks != null and wtyfaremarks != ''">wtyfaremarks = #{wtyfaremarks},</if>
|
||||
<if test="pgjg != null and pgjg != ''">pgjg = #{pgjg},</if>
|
||||
<if test="pgjgremarks != null and pgjgremarks != ''">pgjgremarks = #{pgjgremarks},</if>
|
||||
<if test="jyjh != null and jyjh != ''">jyjh = #{jyjh},</if>
|
||||
<if test="jyjhremarks != null and jyjhremarks != ''">jyjhremarks = #{jyjhremarks},</if>
|
||||
<if test="createuserid != null ">createuserid = #{createuserid},</if>
|
||||
<if test="createTime != null ">create_time = #{createTime},</if>
|
||||
</trim>
|
||||
where id = #{id}
|
||||
</update>
|
||||
|
||||
<delete id="deleteByChildLearndevelopmentTeacherById" parameterType="Long">
|
||||
delete from by_child_learndevelopment_teacher where id = #{id}
|
||||
</delete>
|
||||
|
||||
<delete id="deleteByChildLearndevelopmentTeacherByIds" parameterType="String">
|
||||
delete from by_child_learndevelopment_teacher where id in
|
||||
<foreach item="id" collection="array" open="(" separator="," close=")">
|
||||
#{id}
|
||||
</foreach>
|
||||
</delete>
|
||||
|
||||
</mapper>
|
Loading…
x
Reference in New Issue
Block a user