|
|
|
@ -118,7 +118,7 @@ public class AppEnforcementRegistrationController extends BaseController |
|
|
|
resNum = enforcementRegistrationService.updateEnforcementRegistration(enforcementRegistration); |
|
|
|
} else { |
|
|
|
resNum = enforcementRegistrationService.insertEnforcementRegistration(enforcementRegistration); |
|
|
|
if (resNum > 0) { |
|
|
|
if (resNum > 0 && StringUtils.isNotEmpty(enforcementRegistration.getLawId())) { |
|
|
|
enforcementRegistration.setId(null); |
|
|
|
EnterpriseLawEnforcement law = new EnterpriseLawEnforcement(); |
|
|
|
law.setId(enforcementRegistration.getLawId()); |
|
|
|
|