李雨欣 9.4测试接口 14:38
parent
ec5da46291
commit
79220dd3be
|
@ -0,0 +1,52 @@
|
|||
package com.muyu.market.admain;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import com.muyu.common.core.web.domain.BaseEntity;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.*;
|
||||
import lombok.experimental.SuperBuilder;
|
||||
|
||||
@Data
|
||||
@AllArgsConstructor
|
||||
@SuperBuilder
|
||||
@NoArgsConstructor
|
||||
@TableName(value = "dashuju",autoResultMap = true)
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
public class DaShuJu extends BaseEntity {
|
||||
|
||||
|
||||
private String ManName;
|
||||
private String CardNo;
|
||||
private String Descriot;
|
||||
private String CtfTp;
|
||||
private String CtfId;
|
||||
private String Gender;
|
||||
private String Birthday;
|
||||
private String Address;
|
||||
private String Zip;
|
||||
private String Dirty;
|
||||
private String District1;
|
||||
private String District2;
|
||||
private String District3;
|
||||
private String District4;
|
||||
private String District5;
|
||||
private String District6;
|
||||
private String FirstNm;
|
||||
private String LastNm;
|
||||
private String Duty;
|
||||
private String Mobile;
|
||||
private String Tel;
|
||||
private String Fax;
|
||||
private String EMail;
|
||||
private String Nation;
|
||||
private String Taste;
|
||||
private String Education;
|
||||
private String Company;
|
||||
private String CTel;
|
||||
private String CAddress;
|
||||
private String CZip;
|
||||
private String Family;
|
||||
private String Version;
|
||||
private String id;
|
||||
|
||||
}
|
|
@ -13,11 +13,14 @@ import org.springframework.web.bind.annotation.*;
|
|||
@Tag(name = "查询手机号",description = "订单查询")
|
||||
public class PartyController {
|
||||
|
||||
|
||||
@PostMapping("/selparty")
|
||||
@Operation(summary = "查询手机号",description = "查询手机号")
|
||||
public SelectByPhone selparty(@RequestParam("phoneNumber") String phoneNumber){
|
||||
|
||||
// SelectByPhone one = partyService.getOne(new LambdaQueryWrapper<>() {{
|
||||
// eq(t -> DaShuJu.getMobile(t), phoneNumber);
|
||||
// }});
|
||||
|
||||
return SelectPhoneUtil.queryMobileLocation(phoneNumber);
|
||||
}
|
||||
|
||||
|
|
|
@ -6,4 +6,5 @@ import org.apache.ibatis.annotations.Mapper;
|
|||
|
||||
@Mapper
|
||||
public interface MyapiMapper extends BaseMapper<Myapi> {
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue