Skip to content

Commit ba58908

Browse files
committed
整理代码
1 parent b0ed407 commit ba58908

File tree

601 files changed

+28538
-33201
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

601 files changed

+28538
-33201
lines changed

xingyun-api/src/main/java/com/lframework/xingyun/api/XingYunApiApplication.java

+8-4
Original file line numberDiff line numberDiff line change
@@ -30,18 +30,22 @@ public static class SwaggerApiConfiguration {
3030

3131
@Bean(value = "defaultApi")
3232
public Docket defaultApi(OpenApiExtensionResolver openApiExtensionResolver) {
33+
3334
Docket docket = new Docket(DocumentationType.SWAGGER_2).apiInfo(apiInfo()).groupName("星云ERP")
34-
.select().apis(RequestHandlerSelectors.basePackage("com.lframework.xingyun"))
35-
.paths(PathSelectors.any()).build()
36-
.extensions(openApiExtensionResolver.buildSettingExtensions());
35+
.select()
36+
.apis(RequestHandlerSelectors.basePackage("com.lframework.xingyun"))
37+
.paths(PathSelectors.any())
38+
.build().extensions(openApiExtensionResolver.buildSettingExtensions());
3739
return docket;
3840
}
3941

4042
// 可以修改内容 但是不要删除这个Bean
4143
@Bean
4244
public ApiInfo apiInfo() {
45+
4346
return new ApiInfoBuilder().title("星云ERP接口文档").description("# 星云ERP接口文档")
44-
.contact("[email protected]").build();
47+
.contact("[email protected]")
48+
.build();
4549
}
4650
}
4751
}
Original file line numberDiff line numberDiff line change
@@ -1,45 +1,45 @@
11
package com.lframework.xingyun.api.bo.basedata.customer;
22

33
import com.lframework.starter.web.bo.BaseBo;
4-
import com.lframework.xingyun.basedata.dto.customer.CustomerDto;
4+
import com.lframework.xingyun.basedata.entity.Customer;
55
import io.swagger.annotations.ApiModelProperty;
66
import lombok.Data;
77
import lombok.EqualsAndHashCode;
88

99
@Data
1010
@EqualsAndHashCode(callSuper = true)
11-
public class CustomerSelectorBo extends BaseBo<CustomerDto> {
11+
public class CustomerSelectorBo extends BaseBo<Customer> {
1212

13-
/**
14-
* ID
15-
*/
16-
@ApiModelProperty("ID")
17-
private String id;
13+
/**
14+
* ID
15+
*/
16+
@ApiModelProperty("ID")
17+
private String id;
1818

19-
/**
20-
* 编号
21-
*/
22-
@ApiModelProperty("编号")
23-
private String code;
19+
/**
20+
* 编号
21+
*/
22+
@ApiModelProperty("编号")
23+
private String code;
2424

25-
/**
26-
* 名称
27-
*/
28-
@ApiModelProperty("名称")
29-
private String name;
25+
/**
26+
* 名称
27+
*/
28+
@ApiModelProperty("名称")
29+
private String name;
3030

31-
/**
32-
* 状态
33-
*/
34-
@ApiModelProperty("状态")
35-
private Boolean available;
31+
/**
32+
* 状态
33+
*/
34+
@ApiModelProperty("状态")
35+
private Boolean available;
3636

37-
public CustomerSelectorBo() {
37+
public CustomerSelectorBo() {
3838

39-
}
39+
}
4040

41-
public CustomerSelectorBo(CustomerDto dto) {
41+
public CustomerSelectorBo(Customer dto) {
4242

43-
super(dto);
44-
}
43+
super(dto);
44+
}
4545
}

0 commit comments

Comments
 (0)