|
@@ -86,6 +86,8 @@ public interface FsPrescribeMapper
|
|
|
" <if test=\"orderCode != null \"> and fso.order_code = #{orderCode}</if>\n" +
|
|
" <if test=\"orderCode != null \"> and fso.order_code = #{orderCode}</if>\n" +
|
|
|
" <if test=\"orderStatus != null \"> and fso.`status` = #{orderStatus}</if>\n" +
|
|
" <if test=\"orderStatus != null \"> and fso.`status` = #{orderStatus}</if>\n" +
|
|
|
" <if test=\"storeId != null \"> and so.store_id = #{storeId}</if>\n" +
|
|
" <if test=\"storeId != null \"> and so.store_id = #{storeId}</if>\n" +
|
|
|
|
|
+ " <if test=\"minOperateSeconds != null \"> AND so.operate_second >= #{minOperateSeconds}</if>\n" +
|
|
|
|
|
+ " <if test=\"maxOperateSeconds != null \"> AND so.operate_second <= #{maxOperateSeconds}</if>\n" +
|
|
|
" </where>\n" +
|
|
" </where>\n" +
|
|
|
" order by prescribe_id desc"+
|
|
" order by prescribe_id desc"+
|
|
|
"</script>"})
|
|
"</script>"})
|