|
|
|
@ -44,7 +44,7 @@ public class ZyjhController {
|
|
|
|
|
}
|
|
|
|
|
List<DmYdjh> list=dto.getList();
|
|
|
|
|
try {
|
|
|
|
|
Field field=DmYdjh.class.getField(dto.getField());
|
|
|
|
|
Field field=DmYdjh.class.getDeclaredField(dto.getField());
|
|
|
|
|
if (ObjUtil.isNotEmpty(field)){
|
|
|
|
|
field.setAccessible(true);
|
|
|
|
|
String date=DateUtil.date().toString("yyyy/MM/dd");
|
|
|
|
@ -56,6 +56,7 @@ public class ZyjhController {
|
|
|
|
|
zyjhService.updateBatchById(list);
|
|
|
|
|
return new ResultBean<>();
|
|
|
|
|
} catch (NoSuchFieldException | IllegalAccessException e) {
|
|
|
|
|
e.printStackTrace();
|
|
|
|
|
throw new ServiceException(10001,"属性字段不存在");
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|