更改智慧码头token配置 售票身份证判空修改
This commit is contained in:
parent
021f9680de
commit
e9cf599dcf
@ -53,7 +53,7 @@ public class CheckTicketApi {
|
||||
@GetMapping("/getToken")
|
||||
public Map<Object, Object> test(){
|
||||
AuthLoginReqVO loginReqVO = new AuthLoginReqVO();
|
||||
loginReqVO.setPassword("admin123");
|
||||
loginReqVO.setPassword("mt@6688");
|
||||
loginReqVO.setUsername("admin");
|
||||
Map<Object, Object> token = loginClient.getToken(loginReqVO,"1");
|
||||
return token;
|
||||
|
@ -209,7 +209,8 @@ public class SaleDataServiceImpl implements SaleDataService {
|
||||
// 遍历销售数据列表
|
||||
for (SaleData saleData : list) {
|
||||
String certificateno = saleData.getCertificateno();
|
||||
if (certificateno == null || certificateno.length() != 18) {
|
||||
if(certificateno == null) continue;
|
||||
if (certificateno.length() != 18) {
|
||||
continue;
|
||||
}
|
||||
String region = IdCardUtil.getRegion(certificateno);
|
||||
|
Loading…
Reference in New Issue
Block a user