|
|
@@ -96,7 +96,7 @@
|
|
|
<if test="minCounts!= null">
|
|
|
min_counts,
|
|
|
</if>
|
|
|
- <if test="maxCounts!= null">
|
|
|
+ <if test="maxCounts!= null and maxCounts>0">
|
|
|
max_counts,
|
|
|
</if>
|
|
|
<if test="inventory!= null">
|
|
|
@@ -140,7 +140,7 @@
|
|
|
<if test="minCounts != null">
|
|
|
#{minCounts,jdbcType=INTEGER},
|
|
|
</if>
|
|
|
- <if test="maxCounts != null">
|
|
|
+ <if test="maxCounts != null and maxCounts>0">
|
|
|
#{maxCounts,jdbcType=INTEGER},
|
|
|
</if>
|
|
|
<if test="inventory != null">
|