|
|
@ -210,9 +210,6 @@ public class CustomServiceImpl extends ExtendServiceImpl<CustomMapper, CustomEnt
|
|
|
|
Integer status = dto.getStatus();
|
|
|
|
Integer status = dto.getStatus();
|
|
|
|
CustomEntity customEntity = baseMapper.selectById(id);
|
|
|
|
CustomEntity customEntity = baseMapper.selectById(id);
|
|
|
|
if (ObjectUtil.isNotNull(customEntity)) {
|
|
|
|
if (ObjectUtil.isNotNull(customEntity)) {
|
|
|
|
if (customEntity.getCustomType() == 0) {
|
|
|
|
|
|
|
|
throw new BadRequestException("只能审核B类表单!");
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
if (ObjectUtil.isNotNull(status) && status == 1) {
|
|
|
|
if (ObjectUtil.isNotNull(status) && status == 1) {
|
|
|
|
customEntity.setType(2);
|
|
|
|
customEntity.setType(2);
|
|
|
|
customEntity.setCustomType(0);
|
|
|
|
customEntity.setCustomType(0);
|
|
|
|