|
@@ -104,7 +104,7 @@ public class CommonServiceImpl implements ICommonService {
|
|
|
endfields.put("update_by", SecurityUtils.getUsername());
|
|
|
endfields.put("update_time", DateUtils.getTime());
|
|
|
endfields.put("update_by_id", SecurityUtils.getUserId());
|
|
|
- return commonMapper.edit(endConditions, tableName, conditions);
|
|
|
+ return commonMapper.edit(endfields, tableName, endConditions);
|
|
|
}
|
|
|
|
|
|
@Override
|
|
@@ -115,7 +115,7 @@ public class CommonServiceImpl implements ICommonService {
|
|
|
conditions.keySet().forEach(item -> {
|
|
|
endConditions.put(toUnderScoreCase(item), conditions.get(item));
|
|
|
});
|
|
|
- return commonMapper.batchDelete(tableName, conditions);
|
|
|
+ return commonMapper.batchDelete(tableName, endConditions);
|
|
|
}
|
|
|
|
|
|
@Override
|