同步功能修改

master
anthonywj 2 years ago
parent 872c4e5167
commit 75d388e121

@ -71,24 +71,24 @@ public class SysUserController extends BaseController {
AuthAdminResponse authAdminResponse = new AuthAdminResponse(); AuthAdminResponse authAdminResponse = new AuthAdminResponse();
BeanUtils.copyProperties(item, authAdminResponse); BeanUtils.copyProperties(item, authAdminResponse);
List<Long> roles = sysRoleService.selectRoleListByUserId(authAdminResponse.getId()); List<Long> roles = sysRoleService.selectRoleListByUserId(authAdminResponse.getId());
List<DeptUserResponse> deptUserResponses=null; List<DeptUserResponse> deptUserResponses = null;
if("key".equals(filterAuthUserRequest.getKey())){ if ("key".equals(filterAuthUserRequest.getKey())) {
deptUserResponses = deptUserService.selectByUserIdKey(authAdminResponse.getId()); deptUserResponses = deptUserService.selectByUserIdKey(authAdminResponse.getId());
}else{ } else {
deptUserResponses = deptUserService.selectByUserId(authAdminResponse.getId()); deptUserResponses = deptUserService.selectByUserId(authAdminResponse.getId());
} }
if (CollUtil.isNotEmpty(deptUserResponses)) { if (CollUtil.isNotEmpty(deptUserResponses)) {
List<Long> depts = new ArrayList<>(); List<Long> depts = new ArrayList<>();
String deptName = ""; String deptName = "";
for (DeptUserResponse deptUserResponse : deptUserResponses) { for (DeptUserResponse deptUserResponse : deptUserResponses) {
if(deptUserResponse.getDeptId()!=1){ if (deptUserResponse.getDeptId() != 1) {
depts.add(deptUserResponse.getDeptId()); depts.add(deptUserResponse.getDeptId());
deptName = deptName + "," + deptUserResponse.getDeptName(); deptName = deptName + "," + deptUserResponse.getDeptName();
} }
} }
if(deptName.length()!=0){ if (deptName.length() != 0) {
authAdminResponse.setDeptName(deptName.substring(1)); authAdminResponse.setDeptName(deptName.substring(1));
}else{ } else {
authAdminResponse.setDeptName(deptName); authAdminResponse.setDeptName(deptName);
} }
authAdminResponse.setDepts(depts); authAdminResponse.setDepts(depts);
@ -190,9 +190,9 @@ public class SysUserController extends BaseController {
} }
//默认插入第一部门 //默认插入第一部门
List<Long> deptCodeList=authUserSaveRequest.getDepts(); List<Long> deptCodeList = authUserSaveRequest.getDepts();
if(deptCodeList == null){ if (deptCodeList == null) {
deptCodeList=new ArrayList<>(); deptCodeList = new ArrayList<>();
} }
deptCodeList.add(1L); deptCodeList.add(1L);
authUserSaveRequest.setDepts(deptCodeList); authUserSaveRequest.setDepts(deptCodeList);
@ -261,7 +261,7 @@ public class SysUserController extends BaseController {
return ResultVOUtils.error(ResultEnum.NOT_NETWORK); return ResultVOUtils.error(ResultEnum.NOT_NETWORK);
} }
// 修改角色 // 修改角色
// userService.insertUserAuth(authAdmin.getId(), authUserSaveRequest.getRoles()); // userService.insertUserAuth(authAdmin.getId(), authUserSaveRequest.getRoles());
userService.updateAuthAdmin(authAdmin); userService.updateAuthAdmin(authAdmin);
@ -270,19 +270,19 @@ public class SysUserController extends BaseController {
FilterDeptUserReqeust filterDeptUserReqeust = new FilterDeptUserReqeust(); FilterDeptUserReqeust filterDeptUserReqeust = new FilterDeptUserReqeust();
filterDeptUserReqeust.setUserId(authUserSaveRequest.getId()); filterDeptUserReqeust.setUserId(authUserSaveRequest.getId());
List<DeptUserEntity> deptUserEntities = deptUserService.selectDeptUser(filterDeptUserReqeust); List<DeptUserEntity> deptUserEntities = deptUserService.selectDeptUser(filterDeptUserReqeust);
if(deptUserEntities == null){ if (deptUserEntities == null) {
deptCodeList.add(1L); deptCodeList.add(1L);
authUserSaveRequest.setDepts(deptCodeList); authUserSaveRequest.setDepts(deptCodeList);
}else{ } else {
Boolean checkDeptId=false; Boolean checkDeptId = false;
for (DeptUserEntity deptUserEntity : deptUserEntities) { for (DeptUserEntity deptUserEntity : deptUserEntities) {
if(deptUserEntity.getDeptId() == 1){ if (deptUserEntity.getDeptId() == 1) {
checkDeptId=true; checkDeptId = true;
}else{ } else {
deptCodeList.add(deptUserEntity.getDeptId()); deptCodeList.add(deptUserEntity.getDeptId());
} }
} }
if(checkDeptId==false){ if (checkDeptId == false) {
deptCodeList.add(1L); deptCodeList.add(1L);
authUserSaveRequest.setDepts(deptCodeList); authUserSaveRequest.setDepts(deptCodeList);
} }

@ -90,7 +90,7 @@ public class ThrDeptController {
@PostMapping("/spms/thrsys/warehouse/edit") @PostMapping("/spms/thrsys/warehouse/edit")
public BaseResponse edit(@RequestBody @Valid ThrDeptEntity thrDeptEntity, public BaseResponse edit(@RequestBody @Valid ThrDeptEntity thrDeptEntity,
BindingResult bindingResult,FilterThrSubInvWarehouseRequest filterThrSubInvWarehouseRequest,FilterThrDeptRequest filterThrDeptRequest) { BindingResult bindingResult, FilterThrSubInvWarehouseRequest filterThrSubInvWarehouseRequest, FilterThrDeptRequest filterThrDeptRequest) {
if (bindingResult.hasErrors()) { if (bindingResult.hasErrors()) {
return ResultVOUtils.error(ResultEnum.PARAM_VERIFY_FALL, bindingResult.getFieldError().getDefaultMessage()); return ResultVOUtils.error(ResultEnum.PARAM_VERIFY_FALL, bindingResult.getFieldError().getDefaultMessage());
@ -108,13 +108,12 @@ public class ThrDeptController {
//修改仓库 //修改仓库
thrInvWarehouseService.updateThrInvWarehouse(thrInvWarehouseEntity); thrInvWarehouseService.updateThrInvWarehouse(thrInvWarehouseEntity);
} }
//判断部门是否存在 //判断部门是否存在
filterThrDeptRequest.setCode(thrDeptEntity.getCode()); filterThrDeptRequest.setCode(thrDeptEntity.getCode());
filterThrDeptRequest.setName(thrDeptEntity.getName()); filterThrDeptRequest.setName(thrDeptEntity.getName());
filterThrDeptRequest.setThirdSysFk(thrDeptEntity.getThirdSysFk()); filterThrDeptRequest.setThirdSysFk(thrDeptEntity.getThirdSysFk());
filterThrDeptRequest.setStatus(thrDeptEntity.getStatus()); filterThrDeptRequest.setStatus(thrDeptEntity.getStatus());
List<ThrDeptEntity> thrDeptEntities = thrDeptService.filterThrInvWarehouse(filterThrDeptRequest); if (!thrDeptService.editExit(thrDeptEntity.getCode(), thrDeptEntity.getCode(), thrDeptEntity.getId())) {
if(thrDeptEntities.size()==0 ){
thrDeptEntity.setPid(null); // 不能修改父级 pid thrDeptEntity.setPid(null); // 不能修改父级 pid
thrDeptEntity.setUpdateTime(new Date()); thrDeptEntity.setUpdateTime(new Date());
boolean b = thrDeptService.updateInvWarehouse(thrDeptEntity); boolean b = thrDeptService.updateInvWarehouse(thrDeptEntity);
@ -122,7 +121,7 @@ public class ThrDeptController {
return ResultVOUtils.error(ResultEnum.NOT_NETWORK); return ResultVOUtils.error(ResultEnum.NOT_NETWORK);
} }
return ResultVOUtils.success(); return ResultVOUtils.success();
}else{ } else {
return ResultVOUtils.error(ResultEnum.DATA_REPEAT); return ResultVOUtils.error(ResultEnum.DATA_REPEAT);
} }
@ -158,7 +157,7 @@ public class ThrDeptController {
// } // }
// filterThrSubInvWarehouseRequest.setParentId((String) thirdId); // filterThrSubInvWarehouseRequest.setParentId((String) thirdId);
filterThrSubInvWarehouseRequest.setStatus(0); filterThrSubInvWarehouseRequest.setStatus(0);
List<ThrInvWarehouseEntity> thrInvWarehouseEntities = thrInvWarehouseService.selectByThrDeptCode(filterThrSubInvWarehouseRequest); List<ThrInvWarehouseEntity> thrInvWarehouseEntities = thrInvWarehouseService.selectByThrDeptCode(filterThrSubInvWarehouseRequest);
PageInfo<ThrInvWarehouseEntity> pageInfo; PageInfo<ThrInvWarehouseEntity> pageInfo;
pageInfo = new PageInfo<>(thrInvWarehouseEntities); pageInfo = new PageInfo<>(thrInvWarehouseEntities);
PageSimpleResponse<ThrInvWarehouseEntity> pageSimpleResponse = new PageSimpleResponse<>(); PageSimpleResponse<ThrInvWarehouseEntity> pageSimpleResponse = new PageSimpleResponse<>();

@ -12,13 +12,11 @@ import java.util.List;
@Mapper @Mapper
public interface InvSpaceDao extends BaseMapperPlus<InvSpace, InvSpace, InvSpace> { public interface InvSpaceDao extends BaseMapperPlus<InvSpace, InvSpace, InvSpace> {
int deleteByPrimaryKey(Integer id);
int insertEntity(InvSpace record); int insertEntity(InvSpace record);
int insertSelective(InvSpace record); int insertSelective(InvSpace record);
InvSpace selectByPrimaryKey(Integer id);
int updateByPrimaryKeySelective(InvSpace record); int updateByPrimaryKeySelective(InvSpace record);

@ -154,11 +154,17 @@ public class SpGetHttpClient {
public BaseResponse<String> updateSynsSet(SyncDataSetResponse syncDataSetResponse) { public BaseResponse<String> updateSynsSet(SyncDataSetResponse syncDataSetResponse) {
String json = JSONUtil.toJsonStr(syncDataSetResponse); String json = JSONUtil.toJsonStr(syncDataSetResponse);
String result = okHttpCli.doPostJson(getIpUrl() + "/directToSpms" + "/system/param/syncData/save", json, buildHeader()); try {
BaseResponse<String> response = String result = okHttpCli.doPostJson(getIpUrl() + "/directToSpms" + "/system/param/syncData/save", json, buildHeader());
JSONObject.parseObject(result, new TypeReference<BaseResponse<String>>() { BaseResponse<String> response =
}); JSONObject.parseObject(result, new TypeReference<BaseResponse<String>>() {
return response; });
return response;
} catch (Exception e) {
e.printStackTrace();
}
return ResultVOUtils.error(500, "连接上级服务失败");
} }

@ -1,6 +1,7 @@
package com.glxp.api.service.auth.impl; package com.glxp.api.service.auth.impl;
import cn.hutool.core.collection.CollUtil; import cn.hutool.core.collection.CollUtil;
import cn.hutool.core.util.IdUtil;
import cn.hutool.core.util.StrUtil; import cn.hutool.core.util.StrUtil;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.github.pagehelper.PageHelper; import com.github.pagehelper.PageHelper;
@ -68,7 +69,8 @@ public class InvSpaceServiceImpl extends ServiceImpl<InvSpaceDao, InvSpace> impl
invSpace.setUpdateTime(date); invSpace.setUpdateTime(date);
invSpace.setCreateUser(user.getUserName()); invSpace.setCreateUser(user.getUserName());
invSpace.setUpdateUser(user.getUserName()); invSpace.setUpdateUser(user.getUserName());
invSpaceDao.insertEntity(invSpace); invSpace.setId(IdUtil.getSnowflakeNextId());
invSpaceDao.insert(invSpace);
return ResultVOUtils.success(); return ResultVOUtils.success();
} }
@ -92,8 +94,8 @@ public class InvSpaceServiceImpl extends ServiceImpl<InvSpaceDao, InvSpace> impl
@Override @Override
public BaseResponse deleteSpace(String id) { public BaseResponse deleteSpace(String id) {
//校验此货位是否已经被使用,如果已经被使用,不能删除 //校验此货位是否已经被使用,如果已经被使用,不能删除
Integer spaceId = Integer.valueOf(id); Long spaceId = Long.valueOf(id);
InvSpace invSpace = invSpaceDao.selectByPrimaryKey(spaceId); InvSpace invSpace = invSpaceDao.selectById(spaceId);
//todo 代码迁移,后面记得修改 //todo 代码迁移,后面记得修改
@ -108,7 +110,7 @@ public class InvSpaceServiceImpl extends ServiceImpl<InvSpaceDao, InvSpace> impl
// if (count > 0) { // if (count > 0) {
// return ResultVOUtils.error(ResultEnum.DATA_REPEAT, "此货位已被使用,无法删除!"); // return ResultVOUtils.error(ResultEnum.DATA_REPEAT, "此货位已被使用,无法删除!");
// } // }
invSpaceDao.deleteByPrimaryKey(spaceId); invSpaceDao.deleteById(spaceId);
return ResultVOUtils.success(); return ResultVOUtils.success();
} }

@ -122,7 +122,7 @@ public class InvWarehouseServiceImpl extends ServiceImpl<InvWarehouseDao, InvWar
@Override @Override
public boolean insertInvSubWarehouse(InvWarehouseEntity invWarehouseEntity) { public boolean insertInvSubWarehouse(InvWarehouseEntity invWarehouseEntity) {
return invWarehouseDao.insertInvSubWarehouse(invWarehouseEntity); return invWarehouseDao.insert(invWarehouseEntity) > 0;
} }
@Override @Override

@ -247,7 +247,7 @@ public class HeartService {
} }
break; break;
case USER_DATA: case USER_DATA:
if (!needExec(info.getBasicDept(), info.getBasicInv(), info.getSysUser())) { if (needExec(info.getBasicDept(), info.getBasicInv(), info.getSysUser())) {
uploadData(exportType, taskId, x -> x.getUserData(info, taskId, now, syncTime)); uploadData(exportType, taskId, x -> x.getUserData(info, taskId, now, syncTime));
} }
break; break;
@ -758,7 +758,7 @@ public class HeartService {
syncTimeMap.put("oldDate", syncTime); syncTimeMap.put("oldDate", syncTime);
//确认有开启第三方部门信息同步 //确认有开启第三方部门信息同步
if (needExec(info.getBasicThirdDept())) { if (needExec(info.getBasicThirdInv())) {
Map<String, Object> map; Map<String, Object> map;
if (syncTime == null) { if (syncTime == null) {
map = basicExportStatusTimeInfo(now, BasicExportStatusTimeEnum.THR_DEPT); map = basicExportStatusTimeInfo(now, BasicExportStatusTimeEnum.THR_DEPT);

@ -14,6 +14,8 @@ public interface ThrDeptService extends IService<ThrDeptEntity> {
ThrDeptEntity findDefault(Boolean advaceType, Boolean isDefault); ThrDeptEntity findDefault(Boolean advaceType, Boolean isDefault);
boolean editExit(String code, String thirdSysFk, Long id);
List<ThrDeptEntity> filterThrInvWarehouse(FilterThrDeptRequest filterThrDeptRequest); List<ThrDeptEntity> filterThrInvWarehouse(FilterThrDeptRequest filterThrDeptRequest);
List<ThrDeptEntity> filterGroupInvWarehouse(FilterThrDeptRequest filterThrDeptRequest); List<ThrDeptEntity> filterGroupInvWarehouse(FilterThrDeptRequest filterThrDeptRequest);

@ -2,6 +2,7 @@ package com.glxp.api.service.thrsys.impl;
import cn.hutool.core.collection.CollUtil; import cn.hutool.core.collection.CollUtil;
import cn.hutool.core.util.IdUtil; import cn.hutool.core.util.IdUtil;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.github.pagehelper.PageHelper; import com.github.pagehelper.PageHelper;
import com.glxp.api.common.res.BaseResponse; import com.glxp.api.common.res.BaseResponse;
@ -27,7 +28,7 @@ import java.util.List;
@Service @Service
@Transactional(rollbackFor = Exception.class) @Transactional(rollbackFor = Exception.class)
public class ThrDeptServiceImpl extends ServiceImpl<ThrDeptDao,ThrDeptEntity> implements ThrDeptService { public class ThrDeptServiceImpl extends ServiceImpl<ThrDeptDao, ThrDeptEntity> implements ThrDeptService {
@Resource @Resource
private ThrDeptDao thrDeptDao; private ThrDeptDao thrDeptDao;
@ -48,6 +49,11 @@ public class ThrDeptServiceImpl extends ServiceImpl<ThrDeptDao,ThrDeptEntity> im
return null; return null;
} }
@Override
public boolean editExit(String code, String thirdSysFk, Long id) {
return thrDeptDao.exists(new QueryWrapper<ThrDeptEntity>().eq("code", code).eq("thirdSysFk", thirdSysFk).ne("id", id));
}
@Override @Override
public List<ThrDeptEntity> filterThrInvWarehouse(FilterThrDeptRequest filterThrDeptRequest) { public List<ThrDeptEntity> filterThrInvWarehouse(FilterThrDeptRequest filterThrDeptRequest) {
if (filterThrDeptRequest == null) { if (filterThrDeptRequest == null) {

@ -60,7 +60,7 @@ public class SyncHeartTask implements SchedulingConfigurer {
//定时上传最近更新基础数据至上游轮询时间 //定时上传最近更新基础数据至上游轮询时间
long timeInterval1 = syncDataSetEntity.getSyncTime() * 60 * 1000L; long timeInterval1 = syncDataSetEntity.getSyncTime() * 6 * 1000L;
long curTime1 = System.currentTimeMillis(); long curTime1 = System.currentTimeMillis();
Long lastTime1 = (Long) redisUtil.get("SPS_SYNC_UPLOAD_DATA"); Long lastTime1 = (Long) redisUtil.get("SPS_SYNC_UPLOAD_DATA");
if (lastTime1 == null) { if (lastTime1 == null) {

@ -31,25 +31,13 @@
remark remark
</sql> </sql>
<select id="selectByPrimaryKey" parameterType="java.lang.Integer" resultMap="BaseResultMap">
select
<include refid="Base_Column_List"/>
from auth_space
where id = #{id,jdbcType=INTEGER}
</select>
<delete id="deleteByPrimaryKey" parameterType="java.lang.Integer">
delete
from auth_space
where id = #{id,jdbcType=INTEGER}
</delete>
<insert id="insertEntity" keyColumn="id" keyProperty="id" parameterType="com.glxp.api.entity.auth.InvSpace" <insert id="insertEntity" keyColumn="id" keyProperty="id" parameterType="com.glxp.api.entity.auth.InvSpace"
useGeneratedKeys="true"> useGeneratedKeys="true">
insert into auth_space (code, `name`, type, invStorageCode, insert into auth_space (code, `name`, type, invStorageCode,
invWarehouseCode, `status`, createTime, invWarehouseCode, `status`, createTime,
updateTime, `createUser`, updateUser, updateTime, `createUser`, updateUser,
remark) remark)
values (#{code,jdbcType=VARCHAR}, #{name,jdbcType=VARCHAR}, #{type,jdbcType=VARCHAR}, values (#{code,jdbcType=VARCHAR}, #{name,jdbcType=VARCHAR}, #{type,jdbcType=VARCHAR},
#{invStorageCode,jdbcType=VARCHAR}, #{invStorageCode,jdbcType=VARCHAR},
#{invWarehouseCode,jdbcType=VARCHAR}, #{status,jdbcType=INTEGER}, #{createTime,jdbcType=TIMESTAMP}, #{invWarehouseCode,jdbcType=VARCHAR}, #{status,jdbcType=INTEGER}, #{createTime,jdbcType=TIMESTAMP},
@ -255,9 +243,9 @@
<insert id="batchInsert" keyColumn="id" keyProperty="id" parameterType="map" useGeneratedKeys="true"> <insert id="batchInsert" keyColumn="id" keyProperty="id" parameterType="map" useGeneratedKeys="true">
insert into auth_space insert into auth_space
(code, `name`, type, invStorageCode, invWarehouseCode, `status`, createTime, updateTime, (code, `name`, type, invStorageCode, invWarehouseCode, `status`, createTime, updateTime,
`createUser`, updateUser, remark) `createUser`, updateUser, remark)
values values
<foreach collection="list" item="item" separator=","> <foreach collection="list" item="item" separator=",">
(#{item.code,jdbcType=VARCHAR}, #{item.name,jdbcType=VARCHAR}, #{item.type,jdbcType=VARCHAR}, (#{item.code,jdbcType=VARCHAR}, #{item.name,jdbcType=VARCHAR}, #{item.type,jdbcType=VARCHAR},
#{item.invStorageCode,jdbcType=VARCHAR}, #{item.invStorageCode,jdbcType=VARCHAR},
@ -269,13 +257,14 @@
</foreach> </foreach>
</insert> </insert>
<select id="filterList" parameterType="com.glxp.api.req.auth.FilterInvSpaceRequest" resultType="com.glxp.api.res.auth.InvSpaceResponse"> <select id="filterList" parameterType="com.glxp.api.req.auth.FilterInvSpaceRequest"
resultType="com.glxp.api.res.auth.InvSpaceResponse">
select s.*, select s.*,
w.name invStorageName, w.name invStorageName,
iws.name invSubStorageName iws.name invSubStorageName
from auth_space s from auth_space s
left join auth_dept w on s.invStorageCode = w.code left join auth_dept w on s.invStorageCode = w.code
left join auth_warehouse iws on s.invWarehouseCode = iws.code left join auth_warehouse iws on s.invWarehouseCode = iws.code
<where> <where>
<if test="invStorageCode != null and invStorageCode != ''"> <if test="invStorageCode != null and invStorageCode != ''">
AND s.invStorageCode = #{invStorageCode} AND s.invStorageCode = #{invStorageCode}
@ -318,8 +307,8 @@
<select id="selectSpaceCodeList" resultType="com.glxp.api.res.auth.InvSpaceResponse"> <select id="selectSpaceCodeList" resultType="com.glxp.api.res.auth.InvSpaceResponse">
select auth_space.code, auth_space.name, iws.name invSubStorageName, iw.name invStorageName select auth_space.code, auth_space.name, iws.name invSubStorageName, iw.name invStorageName
from auth_space from auth_space
left join auth_warehouse iws on iws.code = auth_space.invWarehouseCode left join auth_warehouse iws on iws.code = auth_space.invWarehouseCode
left join auth_dept iw on iw.code = auth_space.invStorageCode left join auth_dept iw on iw.code = auth_space.invStorageCode
<where> <where>
<if test="invStorageCode != null and invStorageCode != ''"> <if test="invStorageCode != null and invStorageCode != ''">
AND auth_space.invStorageCode = #{invStorageCode} AND auth_space.invStorageCode = #{invStorageCode}
@ -385,7 +374,7 @@
<select id="selectExistByName" resultMap="BaseResultMap"> <select id="selectExistByName" resultMap="BaseResultMap">
select select
<include refid="Base_Column_List" /> <include refid="Base_Column_List"/>
from auth_space from auth_space
<where> <where>
<if test="invStorageCode != null and invStorageCode != ''"> <if test="invStorageCode != null and invStorageCode != ''">
@ -401,7 +390,8 @@
</select> </select>
<select id="getMaxSpaceCode" resultType="java.lang.String"> <select id="getMaxSpaceCode" resultType="java.lang.String">
select max(code) from auth_space select max(code)
from auth_space
<where> <where>
<if test="invCode != null and invCode != ''"> <if test="invCode != null and invCode != ''">
and invWarehouseCode = #{invCode} and invWarehouseCode = #{invCode}

@ -217,6 +217,9 @@
<if test="advanceType != null"> <if test="advanceType != null">
advanceType=#{advanceType}, advanceType=#{advanceType},
</if> </if>
<if test="updateTime != null">
updateTime=#{updateTime},
</if>
<if test="spUse != null"> <if test="spUse != null">
spUse=#{spUse}, spUse=#{spUse},
</if> </if>

@ -388,4 +388,4 @@ CALL Pro_Temp_ColumnWork('thr_corp', 'id', 'bigint', 2);
CALL Pro_Temp_ColumnWork('auth_dept_user', 'userId', 'bigint', 2); CALL Pro_Temp_ColumnWork('auth_dept_user', 'userId', 'bigint', 2);
CALL Pro_Temp_ColumnWork('auth_dept_user', 'deptId', 'bigint', 2); CALL Pro_Temp_ColumnWork('auth_dept_user', 'deptId', 'bigint', 2);
CALL Pro_Temp_ColumnWork('basic_bustype_pre', 'Id', 'bigint', 2); CALL Pro_Temp_ColumnWork('basic_bustype_pre', 'Id', 'bigint', 2);
CALL Pro_Temp_ColumnWork('basic_export_status', 'remark', 'varchar(2048)', 2);

Loading…
Cancel
Save