parent
9f578f48c8
commit
8f35f4d9f2
@ -0,0 +1,44 @@ |
|||||||
|
package com.bellmann.model.form; |
||||||
|
|
||||||
|
import com.baomidou.mybatisplus.annotation.TableField; |
||||||
|
import io.swagger.v3.oas.annotations.media.Schema; |
||||||
|
import lombok.Data; |
||||||
|
|
||||||
|
@Data |
||||||
|
@Schema(description = "客户表单") |
||||||
|
public class CustomForm { |
||||||
|
|
||||||
|
@Schema(description = "客户ID") |
||||||
|
private Long custId; |
||||||
|
|
||||||
|
@Schema(description = "系统管理域") |
||||||
|
private Long regionAreaId; |
||||||
|
|
||||||
|
@Schema(description = "客户账号") |
||||||
|
private String customAccount; |
||||||
|
|
||||||
|
@Schema(description = "客户名称" ) |
||||||
|
private String customName; |
||||||
|
|
||||||
|
@Schema(description = "客户地址") |
||||||
|
private String customAddr; |
||||||
|
|
||||||
|
@Schema(description = "联系人方式") |
||||||
|
private String contactType; |
||||||
|
|
||||||
|
@Schema(description = "客户类型") |
||||||
|
private String customType; |
||||||
|
|
||||||
|
@Schema(description = "客户状态") |
||||||
|
private String customStatus; |
||||||
|
|
||||||
|
@Schema(description = "客户端口号") |
||||||
|
private String customRemark1; |
||||||
|
|
||||||
|
@Schema(description = "接入电话号码") |
||||||
|
private String customRemark2; |
||||||
|
|
||||||
|
@TableField(value = "客户身份证号码") |
||||||
|
private String customRemark3; |
||||||
|
|
||||||
|
} |
@ -1,9 +1,19 @@ |
|||||||
package com.bellmann.service; |
package com.bellmann.service; |
||||||
|
|
||||||
import com.baomidou.mybatisplus.extension.plugins.pagination.Page; |
import com.baomidou.mybatisplus.extension.plugins.pagination.Page; |
||||||
|
import com.bellmann.common.result.Result; |
||||||
|
import com.bellmann.model.form.CustomForm; |
||||||
import com.bellmann.model.query.SelectQuery; |
import com.bellmann.model.query.SelectQuery; |
||||||
import com.bellmann.model.vo.CustomerVO; |
import com.bellmann.model.vo.CustomerVO; |
||||||
|
|
||||||
|
import java.util.List; |
||||||
|
|
||||||
public interface CustomerService { |
public interface CustomerService { |
||||||
Page<CustomerVO> resourcePage(SelectQuery query); |
Page<CustomerVO> resourcePage(SelectQuery query); |
||||||
|
|
||||||
|
Result<String> updateStatus(Long customId, String status); |
||||||
|
|
||||||
|
Result<String> deleteCustom(List<Long> ids); |
||||||
|
|
||||||
|
Result<Long> addCustom(CustomForm form); |
||||||
} |
} |
||||||
|
Loading…
Reference in new issue