|
@@ -52,10 +52,10 @@ public class ApplyAgencyAuthCommand{
|
|
|
private List<AgencyResourceCommand> evaluationAgencyResourceList;
|
|
|
|
|
|
public EvaluationAgency toAgency(){
|
|
|
- String reg = "\\d{15}(\\d{2}[0-9xX])?";
|
|
|
- if(!IdCardNum.matches(reg)){
|
|
|
- throw new HttpBadRequestException("身份证信息不合法");
|
|
|
- }
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
EvaluationAgency agency = UserFactory.defaultAgency();
|
|
|
BeanUtils.copyProperties(this, agency, "evaluationAgencyAbilityList", "evaluationAgencyResourceList");
|
|
|
if( this.evaluationAgencyAbilityList != null&&this.evaluationAgencyAbilityList.size() > 0 ){
|