Browse Source

2023.11.16

master
yuejiayang 2 years ago
parent
commit
a8192f5939
  1. 8
      src/main/java/com/spring/modules/part/entity/ProductGroupInformationEntity.java
  2. 4
      src/main/resources/mapper/part/ProductGroupInformationMapper.xml

8
src/main/java/com/spring/modules/part/entity/ProductGroupInformationEntity.java

@ -20,17 +20,21 @@ public class ProductGroupInformationEntity extends QueryPage implements Serializ
**/ **/
private String site; private String site;
/** /**
* 分类编码
* 商品组编码
**/ **/
private String productGroupId; private String productGroupId;
/** /**
* 分类名称
* 商品组名称
**/ **/
private String productGroupName; private String productGroupName;
/** /**
* 是否可用 * 是否可用
**/ **/
private String active; private String active;
/**
* 商品组
**/
private String type;
/** /**
* 创建时间 * 创建时间
**/ **/

4
src/main/resources/mapper/part/ProductGroupInformationMapper.xml

@ -9,6 +9,7 @@
product_group_id, product_group_id,
product_group_name, product_group_name,
active, active,
type,
create_by, create_by,
create_date, create_date,
update_by, update_by,
@ -25,6 +26,9 @@
<if test = "query.active != null and query.active != ''"> <if test = "query.active != null and query.active != ''">
AND active = #{query.active} AND active = #{query.active}
</if> </if>
<if test = "query.type != null and query.type != ''">
AND type = #{query.type}
</if>
</where> </where>
</select> </select>

Loading…
Cancel
Save