
32 changed files with 674 additions and 13 deletions
@ -0,0 +1,21 @@ |
|||
package com.yxt.supervise.dbcenter.zhj.crawl.biz.enpBrand; |
|||
|
|||
import com.yxt.common.core.query.Query; |
|||
import io.swagger.annotations.ApiModel; |
|||
|
|||
/** |
|||
* @author feikefei |
|||
* @create 2023-05-12-9:21 |
|||
*/ |
|||
@ApiModel("企业品牌信息 分页传输对象") |
|||
public class EnpBrandQuery implements Query { |
|||
private String name; |
|||
|
|||
public String getName() { |
|||
return name; |
|||
} |
|||
|
|||
public void setName(String name) { |
|||
this.name = name; |
|||
} |
|||
} |
@ -0,0 +1,81 @@ |
|||
package com.yxt.supervise.dbcenter.zhj.crawl.biz.enpBrand; |
|||
|
|||
import com.yxt.common.core.vo.Vo; |
|||
import io.swagger.annotations.ApiModel; |
|||
import io.swagger.annotations.ApiModelProperty; |
|||
|
|||
/** |
|||
* @author feikefei |
|||
* @create 2023-05-12-9:22 |
|||
*/ |
|||
@ApiModel("企业品牌信息 返回视图对象") |
|||
public class EnpBrandVo implements Vo { |
|||
private String id; |
|||
private String sid; |
|||
@ApiModelProperty("品牌编码") |
|||
private String code; |
|||
@ApiModelProperty("品牌名称") |
|||
private String name; |
|||
@ApiModelProperty("所属企业Sid") |
|||
private String enpSid; |
|||
@ApiModelProperty("所属企业编码") |
|||
private String enpCode; |
|||
@ApiModelProperty("所属企业名称") |
|||
private String enpName; |
|||
|
|||
public String getCode() { |
|||
return code; |
|||
} |
|||
|
|||
public void setCode(String code) { |
|||
this.code = code; |
|||
} |
|||
|
|||
public String getName() { |
|||
return name; |
|||
} |
|||
|
|||
public void setName(String name) { |
|||
this.name = name; |
|||
} |
|||
|
|||
public String getEnpSid() { |
|||
return enpSid; |
|||
} |
|||
|
|||
public void setEnpSid(String enpSid) { |
|||
this.enpSid = enpSid; |
|||
} |
|||
|
|||
public String getEnpCode() { |
|||
return enpCode; |
|||
} |
|||
|
|||
public void setEnpCode(String enpCode) { |
|||
this.enpCode = enpCode; |
|||
} |
|||
|
|||
public String getEnpName() { |
|||
return enpName; |
|||
} |
|||
|
|||
public void setEnpName(String enpName) { |
|||
this.enpName = enpName; |
|||
} |
|||
|
|||
public String getId() { |
|||
return id; |
|||
} |
|||
|
|||
public void setId(String id) { |
|||
this.id = id; |
|||
} |
|||
|
|||
public String getSid() { |
|||
return sid; |
|||
} |
|||
|
|||
public void setSid(String sid) { |
|||
this.sid = sid; |
|||
} |
|||
} |
@ -1,5 +1,10 @@ |
|||
<?xml version="1.0" encoding="UTF-8" ?> |
|||
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> |
|||
<mapper namespace="com.yxt.supervise.dbcenter.zhj.crawl.biz.enpInfo.EnpInfoMapper"> |
|||
|
|||
<select id="listPage" resultType="com.yxt.supervise.dbcenter.zhj.crawl.biz.enpInfo.EnpInfoVo"> |
|||
select * from enp_info |
|||
<where> |
|||
${ew.sqlSegment} |
|||
</where> |
|||
</select> |
|||
</mapper> |
@ -0,0 +1,23 @@ |
|||
package com.yxt.supervise.dbcenter.zhj.crawl.biz.enpInfo; |
|||
|
|||
import com.yxt.common.core.query.Query; |
|||
import io.swagger.annotations.ApiModel; |
|||
import io.swagger.annotations.ApiModelProperty; |
|||
|
|||
/** |
|||
* @author feikefei |
|||
* @create 2023-05-12-9:41 |
|||
*/ |
|||
@ApiModel("企业信息 分页") |
|||
public class EnpInfoQuery implements Query { |
|||
@ApiModelProperty("企业名称") |
|||
private String name; |
|||
|
|||
public String getName() { |
|||
return name; |
|||
} |
|||
|
|||
public void setName(String name) { |
|||
this.name = name; |
|||
} |
|||
} |
@ -0,0 +1,51 @@ |
|||
package com.yxt.supervise.dbcenter.zhj.crawl.biz.enpInfo; |
|||
|
|||
import io.swagger.annotations.ApiModel; |
|||
import io.swagger.annotations.ApiModelProperty; |
|||
|
|||
/** |
|||
* @author feikefei |
|||
* @create 2023-05-12-9:43 |
|||
*/ |
|||
@ApiModel("企业信息 返回视图") |
|||
public class EnpInfoVo { |
|||
private String id; |
|||
private String sid; |
|||
|
|||
@ApiModelProperty("企业名称") |
|||
private String name; |
|||
@ApiModelProperty("企业编码") |
|||
private String code; |
|||
|
|||
public String getId() { |
|||
return id; |
|||
} |
|||
|
|||
public void setId(String id) { |
|||
this.id = id; |
|||
} |
|||
|
|||
public String getSid() { |
|||
return sid; |
|||
} |
|||
|
|||
public void setSid(String sid) { |
|||
this.sid = sid; |
|||
} |
|||
|
|||
public String getName() { |
|||
return name; |
|||
} |
|||
|
|||
public void setName(String name) { |
|||
this.name = name; |
|||
} |
|||
|
|||
public String getCode() { |
|||
return code; |
|||
} |
|||
|
|||
public void setCode(String code) { |
|||
this.code = code; |
|||
} |
|||
} |
@ -0,0 +1,23 @@ |
|||
package com.yxt.supervise.dbcenter.zhj.crawl.biz.enpStore; |
|||
|
|||
import com.yxt.common.core.query.Query; |
|||
import io.swagger.annotations.ApiModel; |
|||
import io.swagger.annotations.ApiModelProperty; |
|||
|
|||
/** |
|||
* @author feikefei |
|||
* @create 2023-05-12-9:53 |
|||
*/ |
|||
@ApiModel("企业门店信息 分页传输对象") |
|||
public class EnpStoreQuery implements Query { |
|||
@ApiModelProperty("门店名称") |
|||
private String name; |
|||
|
|||
public String getName() { |
|||
return name; |
|||
} |
|||
|
|||
public void setName(String name) { |
|||
this.name = name; |
|||
} |
|||
} |
@ -0,0 +1,111 @@ |
|||
package com.yxt.supervise.dbcenter.zhj.crawl.biz.enpStore; |
|||
|
|||
import com.yxt.common.core.vo.Vo; |
|||
import io.swagger.annotations.ApiModel; |
|||
import io.swagger.annotations.ApiModelProperty; |
|||
|
|||
/** |
|||
* @author feikefei |
|||
* @create 2023-05-12-9:57 |
|||
*/ |
|||
@ApiModel("企业门店信息 返回视图字段") |
|||
public class EnpStoreVo implements Vo { |
|||
private String id; |
|||
private String sid; |
|||
@ApiModelProperty("门店编码") |
|||
private String code; |
|||
@ApiModelProperty("门店名称") |
|||
private String name; |
|||
@ApiModelProperty("所属企业Sid") |
|||
private String enpSid; |
|||
@ApiModelProperty("所属企业编码") |
|||
private String enpCode; |
|||
@ApiModelProperty("所属企业名称") |
|||
private String enpName; |
|||
@ApiModelProperty("所属品牌Sid") |
|||
private String brandSid; |
|||
@ApiModelProperty("所属品牌编码") |
|||
private String brandCode; |
|||
@ApiModelProperty("所属品牌名称") |
|||
private String brandName; |
|||
|
|||
public String getId() { |
|||
return id; |
|||
} |
|||
|
|||
public void setId(String id) { |
|||
this.id = id; |
|||
} |
|||
|
|||
public String getSid() { |
|||
return sid; |
|||
} |
|||
|
|||
public void setSid(String sid) { |
|||
this.sid = sid; |
|||
} |
|||
|
|||
public String getCode() { |
|||
return code; |
|||
} |
|||
|
|||
public void setCode(String code) { |
|||
this.code = code; |
|||
} |
|||
|
|||
public String getName() { |
|||
return name; |
|||
} |
|||
|
|||
public void setName(String name) { |
|||
this.name = name; |
|||
} |
|||
|
|||
public String getEnpSid() { |
|||
return enpSid; |
|||
} |
|||
|
|||
public void setEnpSid(String enpSid) { |
|||
this.enpSid = enpSid; |
|||
} |
|||
|
|||
public String getEnpCode() { |
|||
return enpCode; |
|||
} |
|||
|
|||
public void setEnpCode(String enpCode) { |
|||
this.enpCode = enpCode; |
|||
} |
|||
|
|||
public String getEnpName() { |
|||
return enpName; |
|||
} |
|||
|
|||
public void setEnpName(String enpName) { |
|||
this.enpName = enpName; |
|||
} |
|||
|
|||
public String getBrandSid() { |
|||
return brandSid; |
|||
} |
|||
|
|||
public void setBrandSid(String brandSid) { |
|||
this.brandSid = brandSid; |
|||
} |
|||
|
|||
public String getBrandCode() { |
|||
return brandCode; |
|||
} |
|||
|
|||
public void setBrandCode(String brandCode) { |
|||
this.brandCode = brandCode; |
|||
} |
|||
|
|||
public String getBrandName() { |
|||
return brandName; |
|||
} |
|||
|
|||
public void setBrandName(String brandName) { |
|||
this.brandName = brandName; |
|||
} |
|||
} |
@ -1,4 +1,14 @@ |
|||
<?xml version="1.0" encoding="UTF-8" ?> |
|||
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> |
|||
<mapper namespace="com.yxt.supervise.dbcenter.zhj.crawl.biz.materialInfo.MaterialInfoMapper"> |
|||
<select id="listPage" resultType="com.yxt.supervise.dbcenter.zhj.crawl.biz.materialInfo.MaterialInfoVo"> |
|||
select * from material_info |
|||
<where> |
|||
${ew.sqlSegment} |
|||
</where> |
|||
</select> |
|||
|
|||
<insert id="add" parameterType="com.yxt.supervise.dbcenter.zhj.crawl.biz.materialInfo.MaterialInfo"> |
|||
insert into material_info (sid,name,code,unit,taxPrice) values (#{sid},#{name},#{code},#{unit},#{taxPrice}) |
|||
</insert> |
|||
</mapper> |
@ -0,0 +1,23 @@ |
|||
package com.yxt.supervise.dbcenter.zhj.crawl.biz.materialInfo; |
|||
|
|||
import com.yxt.common.core.query.Query; |
|||
import io.swagger.annotations.ApiModel; |
|||
import io.swagger.annotations.ApiModelProperty; |
|||
|
|||
/** |
|||
* @author feikefei |
|||
* @create 2023-05-12-10:15 |
|||
*/ |
|||
@ApiModel("物料信息 分页传输对象") |
|||
public class MaterialInfoQuery implements Query { |
|||
@ApiModelProperty("物料名称") |
|||
private String name; |
|||
|
|||
public String getName() { |
|||
return name; |
|||
} |
|||
|
|||
public void setName(String name) { |
|||
this.name = name; |
|||
} |
|||
} |
@ -0,0 +1,72 @@ |
|||
package com.yxt.supervise.dbcenter.zhj.crawl.biz.materialInfo; |
|||
|
|||
import com.yxt.common.core.vo.Vo; |
|||
import io.swagger.annotations.ApiModel; |
|||
import io.swagger.annotations.ApiModelProperty; |
|||
|
|||
/** |
|||
* @author feikefei |
|||
* @create 2023-05-12-10:18 |
|||
*/ |
|||
@ApiModel("物料信息 返回视图字段") |
|||
public class MaterialInfoVo implements Vo { |
|||
private String id; |
|||
private String sid; |
|||
|
|||
@ApiModelProperty("物料编码") |
|||
private String code; |
|||
@ApiModelProperty("物料名称") |
|||
private String name; |
|||
@ApiModelProperty("规格单位") |
|||
private String unit; |
|||
@ApiModelProperty("含税单位") |
|||
private Double taxPrice; |
|||
|
|||
public String getId() { |
|||
return id; |
|||
} |
|||
|
|||
public void setId(String id) { |
|||
this.id = id; |
|||
} |
|||
|
|||
public String getSid() { |
|||
return sid; |
|||
} |
|||
|
|||
public void setSid(String sid) { |
|||
this.sid = sid; |
|||
} |
|||
|
|||
public String getCode() { |
|||
return code; |
|||
} |
|||
|
|||
public void setCode(String code) { |
|||
this.code = code; |
|||
} |
|||
|
|||
public String getName() { |
|||
return name; |
|||
} |
|||
|
|||
public void setName(String name) { |
|||
this.name = name; |
|||
} |
|||
|
|||
public String getUnit() { |
|||
return unit; |
|||
} |
|||
|
|||
public void setUnit(String unit) { |
|||
this.unit = unit; |
|||
} |
|||
|
|||
public Double getTaxPrice() { |
|||
return taxPrice; |
|||
} |
|||
|
|||
public void setTaxPrice(Double taxPrice) { |
|||
this.taxPrice = taxPrice; |
|||
} |
|||
} |
Loading…
Reference in new issue