commit
This commit is contained in:
@@ -42,7 +42,7 @@ public class SysDataUserPullController {
|
|||||||
@ApiOperation("分页数据")
|
@ApiOperation("分页数据")
|
||||||
@Ok("json:{locked:'password|idCard|mobile'}")
|
@Ok("json:{locked:'password|idCard|mobile'}")
|
||||||
public Result pageData(@Valid SysDataUserPullPageForm pageForm) {
|
public Result pageData(@Valid SysDataUserPullPageForm pageForm) {
|
||||||
Sql sql = Sqls.create("select us.*,su.`name` AS unit_name from sys_user_source us left join sys_unit su ON su.id = us.unitId $condition");
|
Sql sql = Sqls.create("select us.*,su.`name` AS unitName from sys_user_source us left join sys_unit su ON su.id = us.unitId $condition");
|
||||||
Cnd cnd = Cnd.NEW();
|
Cnd cnd = Cnd.NEW();
|
||||||
cnd.andEX(Sys_user_source::getPullTime, "=", pageForm.getPullTime());
|
cnd.andEX(Sys_user_source::getPullTime, "=", pageForm.getPullTime());
|
||||||
cnd.and(Cnd.likeEX(Sys_user_source::getUsername, pageForm.getUserName()));
|
cnd.and(Cnd.likeEX(Sys_user_source::getUsername, pageForm.getUserName()));
|
||||||
@@ -57,7 +57,7 @@ public class SysDataUserPullController {
|
|||||||
}
|
}
|
||||||
cnd.desc(Sys_user_source::getPullTime);
|
cnd.desc(Sys_user_source::getPullTime);
|
||||||
sql.setCondition(cnd);
|
sql.setCondition(cnd);
|
||||||
Pagination pagination = sysUserPullService.listPage(pageForm.getPageNumber(), pageForm.getPageSize(), sql);
|
Pagination pagination = sysUserPullService.listPageMap(pageForm.getPageNumber(), pageForm.getPageSize(), sql);
|
||||||
return Result.success(pagination);
|
return Result.success(pagination);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -124,7 +124,7 @@ public class SysDataUnitPullServiceImpl extends BaseServiceImpl<Sys_unit> implem
|
|||||||
}
|
}
|
||||||
log.info("本次拉取单位数据,新增{}条,更新{}条", insertList.size(), updateList.size());
|
log.info("本次拉取单位数据,新增{}条,更新{}条", insertList.size(), updateList.size());
|
||||||
dao().insert(insertList);
|
dao().insert(insertList);
|
||||||
dao().update(updateList);
|
dao().updateIgnoreNull(updateList);
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -204,13 +204,13 @@ public class SysDataUserAllUpdateServiceImpl implements SysDataUserUpdateService
|
|||||||
u.setId(user.getId());
|
u.setId(user.getId());
|
||||||
|
|
||||||
// 更新会员状态
|
// 更新会员状态
|
||||||
boolean currentIsMember = user.getMember() != null && user.getMember();
|
/* boolean currentIsMember = user.getMember() != null && user.getMember();
|
||||||
|
|
||||||
if (!currentIsMember) {
|
if (!currentIsMember) {
|
||||||
addMemberUserIds.add(user.getId());
|
addMemberUserIds.add(user.getId());
|
||||||
} else{
|
} else{
|
||||||
removeMemberUserIds.add(user.getId());
|
removeMemberUserIds.add(user.getId());
|
||||||
}
|
}*/
|
||||||
|
|
||||||
needDoUpdateList.add(u);
|
needDoUpdateList.add(u);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -57,6 +57,6 @@ public class SysUserAllRenewJob implements Job {
|
|||||||
param.setUpdateMode(SysDataUpdateMode.ALL.name());
|
param.setUpdateMode(SysDataUpdateMode.ALL.name());
|
||||||
param.setConditionGroup(conditionGroup);
|
param.setConditionGroup(conditionGroup);
|
||||||
|
|
||||||
// sysDataUserUpdateService.update(param);
|
sysDataUserUpdateService.update(param);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
+1
@@ -167,6 +167,7 @@ public class MaternityLeaveFamilyPlanningOfficeAuditController {
|
|||||||
|
|
||||||
maternityLeaveService.update(maternityLeave);
|
maternityLeaveService.update(maternityLeave);
|
||||||
|
|
||||||
|
args.put("argsUnitId",maternityLeave.getUnitId());
|
||||||
flowCommonService.executeTask(args);
|
flowCommonService.executeTask(args);
|
||||||
|
|
||||||
return Result.success();
|
return Result.success();
|
||||||
|
|||||||
@@ -80,13 +80,13 @@ layout("/layouts/platform.html"){
|
|||||||
<el-table-column prop="postDoctoralJoinDate" label="进站时间" sortable width="120"></el-table-column>
|
<el-table-column prop="postDoctoralJoinDate" label="进站时间" sortable width="120"></el-table-column>
|
||||||
<el-table-column prop="personType" label="教职工类别" sortable width="120"></el-table-column>
|
<el-table-column prop="personType" label="教职工类别" sortable width="120"></el-table-column>
|
||||||
<el-table-column prop="comeSchoolDate" label="来校年月" sortable width="120"></el-table-column>
|
<el-table-column prop="comeSchoolDate" label="来校年月" sortable width="120"></el-table-column>
|
||||||
<el-table-column prop="technicalTitle" label="技术职称" sortable width="120"></el-table-column>
|
<!-- <el-table-column prop="technicalTitle" label="技术职称" sortable width="120"></el-table-column>-->
|
||||||
<el-table-column prop="position" label="干部职务" sortable width="120" show-overflow-tooltip></el-table-column>
|
<!-- <el-table-column prop="position" label="干部职务" sortable width="120" show-overflow-tooltip></el-table-column>-->
|
||||||
<el-table-column prop="education" label="学历" show-overflow-tooltip sortable width="120"></el-table-column>
|
<!-- <el-table-column prop="education" label="学历" show-overflow-tooltip sortable width="120"></el-table-column>-->
|
||||||
<el-table-column prop="academicDegree" label="学位" show-overflow-tooltip sortable width="120"></el-table-column>
|
<!-- <el-table-column prop="academicDegree" label="学位" show-overflow-tooltip sortable width="120"></el-table-column>-->
|
||||||
<el-table-column prop="unitName" label="单位" show-overflow-tooltip sortable width="120"></el-table-column>
|
<el-table-column prop="unitName" label="单位" show-overflow-tooltip sortable width="120"></el-table-column>
|
||||||
<el-table-column prop="unitId" label="单位编码" sortable width="120"></el-table-column>
|
<el-table-column prop="unitId" label="单位编码" sortable width="120"></el-table-column>
|
||||||
<el-table-column prop="nationality" label="国籍" sortable></el-table-column>
|
<!-- <el-table-column prop="nationality" label="国籍" sortable></el-table-column>-->
|
||||||
<el-table-column prop="nation" label="民族" sortable></el-table-column>
|
<el-table-column prop="nation" label="民族" sortable></el-table-column>
|
||||||
</el-table>
|
</el-table>
|
||||||
<!--#include("/layouts/pagination.html"){}#-->
|
<!--#include("/layouts/pagination.html"){}#-->
|
||||||
|
|||||||
@@ -75,13 +75,13 @@ layout("/layouts/platform.html"){
|
|||||||
<el-table-column prop="preparedBy" label="编制类别" sortable width="120"></el-table-column>
|
<el-table-column prop="preparedBy" label="编制类别" sortable width="120"></el-table-column>
|
||||||
<el-table-column prop="personType" label="教职工类别" sortable width="120"></el-table-column>
|
<el-table-column prop="personType" label="教职工类别" sortable width="120"></el-table-column>
|
||||||
<el-table-column prop="arrivalAtSchoolDate" label="来校年月" sortable width="120"></el-table-column>
|
<el-table-column prop="arrivalAtSchoolDate" label="来校年月" sortable width="120"></el-table-column>
|
||||||
<el-table-column prop="technicalTitle" label="技术职称" sortable width="120"></el-table-column>
|
<!-- <el-table-column prop="technicalTitle" label="技术职称" sortable width="120"></el-table-column>-->
|
||||||
<el-table-column prop="position" label="职务" sortable width="120" show-overflow-tooltip></el-table-column>
|
<!-- <el-table-column prop="position" label="职务" sortable width="120" show-overflow-tooltip></el-table-column>-->
|
||||||
<el-table-column prop="education" label="学历" show-overflow-tooltip sortable width="120"></el-table-column>
|
<!-- <el-table-column prop="education" label="学历" show-overflow-tooltip sortable width="120"></el-table-column>-->
|
||||||
<el-table-column prop="academicDegree" label="学位" show-overflow-tooltip sortable width="120"></el-table-column>
|
<!-- <el-table-column prop="academicDegree" label="学位" show-overflow-tooltip sortable width="120"></el-table-column>-->
|
||||||
<el-table-column prop="unitName" label="单位" show-overflow-tooltip sortable width="120"></el-table-column>
|
<el-table-column prop="unitName" label="单位" show-overflow-tooltip sortable width="120"></el-table-column>
|
||||||
<el-table-column prop="unitId" label="单位编码" sortable width="120"></el-table-column>
|
<el-table-column prop="unitId" label="单位编码" sortable width="120"></el-table-column>
|
||||||
<el-table-column prop="nationality" label="国籍" sortable></el-table-column>
|
<!-- <el-table-column prop="nationality" label="国籍" sortable></el-table-column>-->
|
||||||
<el-table-column prop="nation" label="民族" sortable></el-table-column>
|
<el-table-column prop="nation" label="民族" sortable></el-table-column>
|
||||||
</el-table>
|
</el-table>
|
||||||
<!--#include("/layouts/pagination.html"){}#-->
|
<!--#include("/layouts/pagination.html"){}#-->
|
||||||
|
|||||||
Reference in New Issue
Block a user