|
@ -29,6 +29,8 @@ |
|
|
<result property="createBy" column="create_by"/> |
|
|
<result property="createBy" column="create_by"/> |
|
|
<result property="updateBy" column="update_by"/> |
|
|
<result property="updateBy" column="update_by"/> |
|
|
<result property="costFlag" column="cost_flag"/> |
|
|
<result property="costFlag" column="cost_flag"/> |
|
|
|
|
|
<result property="specialFlag" column="special_flag"/> |
|
|
|
|
|
<result property="orderFlag" column="order_flag"/> |
|
|
<result property="belong" column="belong"/> |
|
|
<result property="belong" column="belong"/> |
|
|
</resultMap> |
|
|
</resultMap> |
|
|
|
|
|
|
|
@ -139,6 +141,10 @@ |
|
|
#{selectId} |
|
|
#{selectId} |
|
|
</foreach> |
|
|
</foreach> |
|
|
</if> |
|
|
</if> |
|
|
|
|
|
<if test="query.costFlag != null"> and `goods_sku`.`cost_flag` = #{query.costFlag}</if> |
|
|
|
|
|
<if test="query.specialFlag != null"> and `goods_sku`.`special_flag` = #{query.specialFlag}</if> |
|
|
|
|
|
<if test="query.orderFlag != null"> and `goods_sku`.`order_flag` = #{query.orderFlag}</if> |
|
|
|
|
|
|
|
|
</where> |
|
|
</where> |
|
|
ORDER BY `goods_sku`.`create_time` DESC |
|
|
ORDER BY `goods_sku`.`create_time` DESC |
|
|
</select> |
|
|
</select> |
|
|