forked from luyan/epmet-cloud-lingshan
				
			
				 15 changed files with 218 additions and 5 deletions
			
			
		@ -0,0 +1,21 @@ | 
				
			|||
package com.epmet.dto.form; | 
				
			|||
 | 
				
			|||
import lombok.Data; | 
				
			|||
 | 
				
			|||
import javax.validation.constraints.NotBlank; | 
				
			|||
import java.io.Serializable; | 
				
			|||
 | 
				
			|||
/** | 
				
			|||
 * @Author zxc | 
				
			|||
 * @DateTime 2020/8/13 5:56 下午 | 
				
			|||
 */ | 
				
			|||
@Data | 
				
			|||
public class CustomerIdFormDTO implements Serializable { | 
				
			|||
 | 
				
			|||
    private static final long serialVersionUID = 4512080710854617599L; | 
				
			|||
 | 
				
			|||
    public interface Customer{} | 
				
			|||
 | 
				
			|||
    @NotBlank(message = "customerId不能为空",groups = {Customer.class}) | 
				
			|||
    private String customerId; | 
				
			|||
} | 
				
			|||
@ -0,0 +1,20 @@ | 
				
			|||
package com.epmet.dto.result; | 
				
			|||
 | 
				
			|||
import lombok.Data; | 
				
			|||
 | 
				
			|||
import java.io.Serializable; | 
				
			|||
 | 
				
			|||
/** | 
				
			|||
 * @Author zxc | 
				
			|||
 * @DateTime 2020/8/14 9:27 上午 | 
				
			|||
 */ | 
				
			|||
@Data | 
				
			|||
public class CustomerGridCountResultDTO implements Serializable { | 
				
			|||
 | 
				
			|||
    private static final long serialVersionUID = 386294009143897744L; | 
				
			|||
 | 
				
			|||
    /** | 
				
			|||
     * 客户下的网格数量 | 
				
			|||
     */ | 
				
			|||
    private Integer gridCount; | 
				
			|||
} | 
				
			|||
@ -0,0 +1,36 @@ | 
				
			|||
package com.epmet.dto.result; | 
				
			|||
 | 
				
			|||
import lombok.Data; | 
				
			|||
 | 
				
			|||
import java.io.Serializable; | 
				
			|||
 | 
				
			|||
/** | 
				
			|||
 * @Author zxc | 
				
			|||
 * @DateTime 2020/8/14 9:01 上午 | 
				
			|||
 */ | 
				
			|||
@Data | 
				
			|||
public class CustomerInfoResultDTO implements Serializable { | 
				
			|||
 | 
				
			|||
    private static final long serialVersionUID = 7653925905635170972L; | 
				
			|||
 | 
				
			|||
    /** | 
				
			|||
     * 客户Id | 
				
			|||
     */ | 
				
			|||
    private String customerId; | 
				
			|||
 | 
				
			|||
    /** | 
				
			|||
     * 客户名称 | 
				
			|||
     */ | 
				
			|||
    private String customerName; | 
				
			|||
 | 
				
			|||
    /** | 
				
			|||
     * 已创建网格数 | 
				
			|||
     */ | 
				
			|||
    private Integer createGridNum; | 
				
			|||
 | 
				
			|||
    /** | 
				
			|||
     * 最大允许创建数 | 
				
			|||
     */ | 
				
			|||
    private Integer maxGridNum; | 
				
			|||
 | 
				
			|||
} | 
				
			|||
@ -0,0 +1,11 @@ | 
				
			|||
package com.epmet.constant; | 
				
			|||
 | 
				
			|||
/** | 
				
			|||
 * @Author zxc | 
				
			|||
 * @DateTime 2020/8/14 9:46 上午 | 
				
			|||
 */ | 
				
			|||
public interface ModuleConstant { | 
				
			|||
 | 
				
			|||
    String ERROR_GOV_ORG_COUNT = "调用gov_org服务【查询客户下网格数量】失败"; | 
				
			|||
 | 
				
			|||
} | 
				
			|||
					Loading…
					
					
				
		Reference in new issue