|
|
|
@@ -10,7 +10,6 @@ |
|
|
|
<result column="is_del" jdbcType="INTEGER" property="isDel"/> |
|
|
|
<result column="name" jdbcType="VARCHAR" property="name"/> |
|
|
|
<result column="price" jdbcType="VARCHAR" property="price"/> |
|
|
|
<result column="public_calcute" jdbcType="INTEGER" property="publicCalcute"/> |
|
|
|
<result column="type" jdbcType="INTEGER" property="type"/> |
|
|
|
<result column="bill_type" jdbcType="INTEGER" property="billType"/> |
|
|
|
<result column="is_system" jdbcType="INTEGER" property="isSystem"/> |
|
|
|
@@ -23,7 +22,7 @@ |
|
|
|
</resultMap> |
|
|
|
|
|
|
|
<sql id="allColumns"> |
|
|
|
`id`,`tenant_id`,`parent_tenant_id`,`create_time`,`update_time`,`is_del`,`name`,`price`,`public_calcute`,`type`,`bill_type`,`is_system`, |
|
|
|
`id`,`tenant_id`,`parent_tenant_id`,`create_time`,`update_time`,`is_del`,`name`,`price`,`type`,`bill_type`,`is_system`, |
|
|
|
`fixed_price`,`calcute_unit`,`time_unit`,`tax_rate`,`is_despoit`,`is_public` |
|
|
|
</sql> |
|
|
|
|
|
|
|
@@ -37,7 +36,6 @@ |
|
|
|
and `parent_tenant_id` = #{parentTenantId} |
|
|
|
</if> |
|
|
|
<if test=" null != isDel ">and `is_del` = #{isDel}</if> |
|
|
|
<if test=" null != publicCalcute ">and `public_calcute` = #{publicCalcute}</if> |
|
|
|
<if test=" null != type ">and `type` = #{type}</if> |
|
|
|
<if test=" null != billType ">and `bill_type` = #{billType}</if> |
|
|
|
<if test=" null != notSetOff ">and `bill_type` != 6</if> |
|
|
|
|