Commit 86481f1e authored by 罗林杰's avatar 罗林杰

Merge remote-tracking branch 'origin/dev1.0' into dev1.0

parents 86c923b0 4f3dbeb5
...@@ -59,6 +59,20 @@ public class StoreGoodsLog extends CyIdIncreEntity<StoreGoodsLog> { ...@@ -59,6 +59,20 @@ public class StoreGoodsLog extends CyIdIncreEntity<StoreGoodsLog> {
*/ */
private BigDecimal totalPrice; private BigDecimal totalPrice;
/**
* 销售开始时间
*/
@JsonIgnore
@TableField(exist = false)
private String startTime;
/**
* 销售结束时间
*/
@JsonIgnore
@TableField(exist = false)
private String finishTime;
private String isReturn; private String isReturn;
} }
...@@ -91,6 +91,12 @@ ...@@ -91,6 +91,12 @@
<if test="entity.appCode !=null and entity.appCode != '' "> <if test="entity.appCode !=null and entity.appCode != '' ">
and app_code like concat('%',#{entity.appCode},'%') and app_code like concat('%',#{entity.appCode},'%')
</if> </if>
<if test="entity.startTime !=null and entity.startTime != '' ">
and sgl.update_date &gt;= #{entity.startTime}
</if>
<if test="entity.finishTime !=null and entity.finishTime != '' ">
and sgl.update_date &lt;= DATE_ADD(#{entity.finishTime}, INTERVAL 1 DAY)
</if>
ORDER BY sgl.business_id DESC ORDER BY sgl.business_id DESC
</select> </select>
</mapper> </mapper>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment