zjh
2 天以前 4fa1c90953a94911a145a18857df2abfccad5d55
ltkj-admin/src/main/java/com/ltkj/web/controller/system/TjCustomerController.java
@@ -163,11 +163,6 @@
                        return AjaxResult.error("身份证号码错误");
                    }
                }
//                if(cusIdcard.length()==9){
//                    if (!MatchUtils.cardValidates(cusIdcard)) {
//                        return AjaxResult.error("身份证号码错误");
//                    }
//                }
            }
@@ -461,7 +456,7 @@
    @PostMapping
    @ApiOperation(value = "新增客户")
    @Transactional
    @RepeatSubmit
//    @RepeatSubmit
    @Log(title = "新增客户信息", businessType = BusinessType.INSERT)
    public AjaxResult add(@RequestBody @ApiParam(value = "客户对象信息") TjCustomer tjCustomer) {
        if (null == tjCustomer.getCusIdcard() || null == tjCustomer.getCusPhone()) {