|
|
@@ -25,8 +25,8 @@ import org.springframework.web.bind.annotation.RequestMapping;
|
|
|
import org.springframework.web.bind.annotation.RequestMethod;
|
|
|
import org.springframework.web.bind.annotation.RestController;
|
|
|
|
|
|
-import java.io.UnsupportedEncodingException;
|
|
|
-import java.net.URLDecoder;
|
|
|
+import java.io.*;
|
|
|
+import java.net.*;
|
|
|
import java.text.SimpleDateFormat;
|
|
|
import java.util.Date;
|
|
|
import java.util.List;
|
|
|
@@ -278,10 +278,11 @@ public class InviteRecordController {
|
|
|
*
|
|
|
* @param enUU 企业UU
|
|
|
* @param businessCode 营业执照
|
|
|
- * @return
|
|
|
+ * @return 企业UU
|
|
|
*/
|
|
|
private Long checkByBusinessCode(Long enUU, String businessCode) {
|
|
|
- if (null != businessCode) {
|
|
|
+ String defaultCode = "0";
|
|
|
+ if (null != businessCode && defaultCode != businessCode) {
|
|
|
Enterprise enterprise = enterpriseService.findByenBussinessCode(businessCode);
|
|
|
enUU = enterprise.getUu();
|
|
|
}
|