Merge branch 'custom/上海港湾-多语言-240912' into custom/上海港湾-多语言
This commit is contained in:
commit
6dffa32aae
|
|
@ -1247,6 +1247,7 @@ public class AddUpSituationServiceImpl extends Service implements AddUpSituation
|
|||
@Override
|
||||
public void batchSave(List<AddUpSituation> list) {
|
||||
if (CollectionUtils.isNotEmpty(list)) {
|
||||
encryptUtil.encryptList(list, AddUpSituation.class, user);
|
||||
List<List<AddUpSituation>> partition = Lists.partition(list, 50);
|
||||
partition.forEach(getAddUpSituationMapper()::insertData);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -485,7 +485,7 @@ public class RemoteExcelServiceImpl extends Service implements RemoteExcelServic
|
|||
List<FormulaVar> formulaVars = fields.stream().map(e -> {
|
||||
FormulaVar formulaVar = new FormulaVar();
|
||||
formulaVar.setFieldId(referenceEnum.getValue() + SalaryFormulaFieldConstant.FIELD_ID_SEPARATOR + e.getId());
|
||||
formulaVar.setName(e.getFieldName());
|
||||
formulaVar.setName(Util.formatMultiLang(e.getFieldName(), String.valueOf(user.getLanguage())));
|
||||
formulaVar.setSource("" + referenceEnum.getValue());
|
||||
formulaVar.setFieldType(DataType.NUMBER);
|
||||
return formulaVar;
|
||||
|
|
|
|||
Loading…
Reference in New Issue