master:生产需求列表BUG修复;
parent
ae281b7d86
commit
9743628d62
|
|
@ -3406,6 +3406,7 @@ CREATE TABLE `store_product`
|
|||
PRIMARY KEY (`id`) USING BTREE,
|
||||
INDEX `idx_storeid`(`store_id`) USING BTREE
|
||||
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '档口商品' ROW_FORMAT = DYNAMIC;
|
||||
CREATE INDEX idx_store_product_store_status_del ON store_product(store_id, prod_status, del_flag);
|
||||
|
||||
|
||||
-- ----------------------------
|
||||
|
|
|
|||
|
|
@ -21,7 +21,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|||
<if test="storeFactoryId != null "> and sf.id = #{storeFactoryId}</if>
|
||||
<if test="remark != null and remark != ''"> and sf.remark like concat('%', #{remark}, '%')</if>
|
||||
<if test="emergency != null "> and spdd.emergency = #{emergency}</if>
|
||||
<if test="demandStatus != null "> and spd.demand_status = #{demandStatus}</if>
|
||||
<if test="demandStatus != null "> and spdd.detail_status = #{demandStatus}</if>
|
||||
ORDER BY
|
||||
spdd.create_time DESC
|
||||
</select>
|
||||
|
|
|
|||
Loading…
Reference in New Issue