
7 changed files with 113 additions and 9 deletions
@ -1,7 +1,10 @@ |
|||||
<?xml version="1.0" encoding="UTF-8" ?> |
<?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"> |
<!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.dishesInfo.DishesInfoMapper"> |
<mapper namespace="com.yxt.supervise.dbcenter.zhj.crawl.biz.dishesInfo.DishesInfoMapper"> |
||||
<select id="selectDishesInfoList" resultType="com.yxt.supervise.dbcenter.zhj.crawl.biz.dishesInfo.DishesInfo"> |
<select id="listPageVo" resultType="com.yxt.supervise.dbcenter.zhj.crawl.biz.dishesInfo.DishesInfoVo"> |
||||
select * from dishes_info |
select * from dishes_info |
||||
|
<where> |
||||
|
${ew.sqlSegment} |
||||
|
</where> |
||||
</select> |
</select> |
||||
</mapper> |
</mapper> |
@ -0,0 +1,23 @@ |
|||||
|
package com.yxt.supervise.dbcenter.zhj.crawl.biz.dishesInfo; |
||||
|
|
||||
|
import com.yxt.common.core.query.Query; |
||||
|
import io.swagger.annotations.ApiModel; |
||||
|
import io.swagger.annotations.ApiModelProperty; |
||||
|
|
||||
|
/** |
||||
|
* @author feikefei |
||||
|
* @create 2023-05-11-18:03 |
||||
|
*/ |
||||
|
@ApiModel(value = "菜品分页 传输对象") |
||||
|
public class DishesInfoQuery implements Query { |
||||
|
@ApiModelProperty("菜品名称") |
||||
|
private String name; |
||||
|
|
||||
|
public String getName() { |
||||
|
return name; |
||||
|
} |
||||
|
|
||||
|
public void setName(String name) { |
||||
|
this.name = name; |
||||
|
} |
||||
|
} |
@ -0,0 +1,53 @@ |
|||||
|
package com.yxt.supervise.dbcenter.zhj.crawl.biz.dishesInfo; |
||||
|
|
||||
|
import com.yxt.common.core.vo.Vo; |
||||
|
import io.swagger.annotations.ApiModel; |
||||
|
import io.swagger.annotations.ApiModelProperty; |
||||
|
|
||||
|
/** |
||||
|
* @author feikefei |
||||
|
* @create 2023-05-11-18:11 |
||||
|
*/ |
||||
|
@ApiModel(value = "返回值 视图") |
||||
|
public class DishesInfoVo implements Vo { |
||||
|
@ApiModelProperty("菜品编码") |
||||
|
private String code; |
||||
|
@ApiModelProperty("菜品名称") |
||||
|
private String name; |
||||
|
@ApiModelProperty("规划单位") |
||||
|
private String unit; |
||||
|
@ApiModelProperty("销售单位") |
||||
|
private Double sellingPrice; |
||||
|
|
||||
|
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 getSellingPrice() { |
||||
|
return sellingPrice; |
||||
|
} |
||||
|
|
||||
|
public void setSellingPrice(Double sellingPrice) { |
||||
|
this.sellingPrice = sellingPrice; |
||||
|
} |
||||
|
} |
@ -0,0 +1,4 @@ |
|||||
|
<?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"> |
||||
|
</mapper> |
Loading…
Reference in new issue