Commit 39b3d982 authored by zhenbin wang's avatar zhenbin wang

feature-wzb:逻辑校验

parent 489a7774
......@@ -182,11 +182,12 @@ public class TMinSalaryServiceImpl extends ServiceImpl<TMinSalaryMapper, TMinSal
data.setErrorFlag(true);
errorMessage.append("对应区域不存在;");
}
if(location.length>2){
String redisTownName = getRedisAreaValue(location[CommonConstants.TWO_INT] + "_" + location[CommonConstants.ONE_INT]);
if (Common.isEmpty(redisTownName)) {
data.setErrorFlag(true);
errorMessage.append("对应区域不存在;");
}}
}}}
LambdaQueryWrapper<TMinSalary> query = new LambdaQueryWrapper<>();
query.ne(TMinSalary::getId, data.getId());
long res = baseMapper.selectCount(query);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment