|
|
|
|
|
|
|
|
<if test="1 == 1"> and g.mark = 1 </if>
|
|
|
<if test="1 == 1"> and g.mark = 1 </if>
|
|
|
<if test="tenantId != null "> and g.tenant_id = #{tenantId}</if>
|
|
|
<if test="tenantId != null "> and g.tenant_id = #{tenantId}</if>
|
|
|
<if test="warehouseId != null "> and g.warehouse_id = #{warehouseId}</if>
|
|
|
<if test="warehouseId != null "> and g.warehouse_id = #{warehouseId}</if>
|
|
|
|
|
|
<if test="goodsName != null and goodsName != ''">
|
|
|
|
|
|
and g.goods_name like concat('%',#{goodsName},'%')
|
|
|
|
|
|
</if>
|
|
|
</where>
|
|
|
</where>
|
|
|
order by g.create_time desc
|
|
|
order by g.create_time desc
|
|
|
</select>
|
|
|
</select>
|