|
|
|
|
@ -30,8 +30,15 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
|
|
<result property="isPurchase" column="is_purchase" />
|
|
|
|
|
<result property="shoppingAppid" column="shopping_appid" />
|
|
|
|
|
<result property="shoppingPath" column="shopping_path" />
|
|
|
|
|
<result property="bluetoothConnectingTitle" column="bluetooth_connecting_title" />
|
|
|
|
|
<result property="bluetoothConnectingContent" column="bluetooth_connecting_content" />
|
|
|
|
|
<result property="bluetoothConnecting" column="bluetooth_connecting" />
|
|
|
|
|
<result property="bluetoothClosedTitle" column="bluetooth_closed_title" />
|
|
|
|
|
<result property="bluetoothClosedContent" column="bluetooth_closed_content" />
|
|
|
|
|
<result property="bluetoothClosed" column="bluetooth_closed" />
|
|
|
|
|
<result property="bluetoothConnectFailTitle" column="bluetooth_connect_fail_title" />
|
|
|
|
|
<result property="bluetoothConnectFailContent" column="bluetooth_connect_fail_content" />
|
|
|
|
|
<result property="bluetoothConnectFail" column="bluetooth_connect_fail" />
|
|
|
|
|
<result property="iotVersionUpgrade" column="iot_version_upgrade" />
|
|
|
|
|
<result property="sortNo" column="sort_no" />
|
|
|
|
|
<result property="status" column="status" />
|
|
|
|
|
@ -45,7 +52,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
|
|
</resultMap>
|
|
|
|
|
|
|
|
|
|
<sql id="selectWxInstrumentVo">
|
|
|
|
|
select id, name, type, model, banner, logo, serial, guarantee, daily_clock_credit, is_extra_clock, binding_credit, extra_clock_credit, start_time, end_time, mini_tag_ids, mini_tag_names, wecom_tag_ids, wecom_tag_names, nursing_time, iot_version, iot_upgrade_data, is_scan_code, is_purchase, shopping_appid, shopping_path, bluetooth_connecting, bluetooth_closed, iot_version_upgrade, sort_no, status, manual_code_binding, scan_code_binding, create_by, create_time, update_by, update_time, remark from wx_instrument
|
|
|
|
|
select id, name, type, model, banner, logo, serial, guarantee, daily_clock_credit, is_extra_clock, binding_credit, extra_clock_credit, start_time, end_time, mini_tag_ids, mini_tag_names, wecom_tag_ids, wecom_tag_names, nursing_time, iot_version, iot_upgrade_data, is_scan_code, is_purchase, shopping_appid, shopping_path, bluetooth_connecting_title, bluetooth_connecting_content,bluetooth_connecting, bluetooth_closed_title, bluetooth_closed_content, bluetooth_closed, bluetooth_connect_fail_title, bluetooth_connect_fail_content, bluetooth_connect_fail, iot_version_upgrade, sort_no, status, manual_code_binding, scan_code_binding, create_by, create_time, update_by, update_time, remark from wx_instrument
|
|
|
|
|
</sql>
|
|
|
|
|
|
|
|
|
|
<select id="selectWxInstrumentList" parameterType="WxInstrument" resultMap="WxInstrumentResult">
|
|
|
|
|
@ -75,8 +82,15 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
|
|
<if test="isPurchase != null "> and is_purchase = #{isPurchase}</if>
|
|
|
|
|
<if test="shoppingAppid != null and shoppingAppid != ''"> and shopping_appid = #{shoppingAppid}</if>
|
|
|
|
|
<if test="shoppingPath != null and shoppingPath != ''"> and shopping_path = #{shoppingPath}</if>
|
|
|
|
|
<if test="bluetoothConnectingTitle != null and bluetoothConnectingTitle != ''"> and bluetooth_connecting_title = #{bluetoothConnectingTitle}</if>
|
|
|
|
|
<if test="bluetoothConnectingContent != null and bluetoothConnectingContent != ''"> and bluetooth_connecting_content = #{bluetoothConnectingContent}</if>
|
|
|
|
|
<if test="bluetoothConnecting != null and bluetoothConnecting != ''"> and bluetooth_connecting = #{bluetoothConnecting}</if>
|
|
|
|
|
<if test="bluetoothClosedTitle != null and bluetoothClosedTitle != ''"> and bluetooth_closed_content = #{bluetoothClosedContent}</if>
|
|
|
|
|
<if test="bluetoothClosedTitle != null and bluetoothClosedTitle != ''"> and bluetooth_closed_title = #{bluetoothClosedTitle}</if>
|
|
|
|
|
<if test="bluetoothClosed != null and bluetoothClosed != ''"> and bluetooth_closed = #{bluetoothClosed}</if>
|
|
|
|
|
<if test="bluetoothConnectFailTitle != null and bluetoothConnectFailTitle != ''"> and bluetooth_connect_fail_title = #{bluetoothConnectFailTitle}</if>
|
|
|
|
|
<if test="bluetoothConnectFailTitle != null and bluetoothConnectFailTitle != ''"> and bluetooth_connect_fail_content = #{bluetoothConnectFailContent}</if>
|
|
|
|
|
<if test="bluetoothConnectFail != null and bluetoothConnectFail != ''"> and bluetooth_connect_fail = #{bluetoothConnectFail}</if>
|
|
|
|
|
<if test="iotVersionUpgrade != null and iotVersionUpgrade != ''"> and iot_version_upgrade = #{iotVersionUpgrade}</if>
|
|
|
|
|
<if test="sortNo != null "> and sort_no = #{sortNo}</if>
|
|
|
|
|
<if test="status != null "> and status = #{status}</if>
|
|
|
|
|
@ -131,8 +145,15 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
|
|
<if test="isPurchase != null">is_purchase,</if>
|
|
|
|
|
<if test="shoppingAppid != null">shopping_appid,</if>
|
|
|
|
|
<if test="shoppingPath != null">shopping_path,</if>
|
|
|
|
|
<if test="bluetoothConnectingTitle != null">bluetooth_connecting_title,</if>
|
|
|
|
|
<if test="bluetoothConnectingContent != null">bluetooth_connecting_Content,</if>
|
|
|
|
|
<if test="bluetoothConnecting != null">bluetooth_connecting,</if>
|
|
|
|
|
<if test="bluetoothClosedTitle != null">bluetooth_closed_title,</if>
|
|
|
|
|
<if test="bluetoothClosedContent != null">bluetooth_closed_content,</if>
|
|
|
|
|
<if test="bluetoothClosed != null">bluetooth_closed,</if>
|
|
|
|
|
<if test="bluetoothConnectFailTitle != null">bluetooth_connect_fail_title,</if>
|
|
|
|
|
<if test="bluetoothConnectFailContent != null">bluetooth_connect_fail_content,</if>
|
|
|
|
|
<if test="bluetoothConnectFail != null">bluetooth_connect_fail,</if>
|
|
|
|
|
<if test="iotVersionUpgrade != null">iot_version_upgrade,</if>
|
|
|
|
|
<if test="sortNo != null">sort_no,</if>
|
|
|
|
|
<if test="status != null">status,</if>
|
|
|
|
|
@ -169,8 +190,15 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
|
|
<if test="isPurchase != null">#{isPurchase},</if>
|
|
|
|
|
<if test="shoppingAppid != null">#{shoppingAppid},</if>
|
|
|
|
|
<if test="shoppingPath != null">#{shoppingPath},</if>
|
|
|
|
|
<if test="bluetoothConnectingTitle != null">#{bluetoothConnectingTitle},</if>
|
|
|
|
|
<if test="bluetoothConnectingContent != null">#{bluetoothConnectingContent},</if>
|
|
|
|
|
<if test="bluetoothConnecting != null">#{bluetoothConnecting},</if>
|
|
|
|
|
<if test="bluetoothClosedTitle != null">#{bluetoothClosedTitle},</if>
|
|
|
|
|
<if test="bluetoothClosedContent != null">#{bluetoothClosedContent},</if>
|
|
|
|
|
<if test="bluetoothClosed != null">#{bluetoothClosed},</if>
|
|
|
|
|
<if test="bluetoothConnectFailTitle != null">#{bluetoothConnectFailTitle},</if>
|
|
|
|
|
<if test="bluetoothConnectFailContent != null">#{bluetoothConnectFailContent},</if>
|
|
|
|
|
<if test="bluetoothConnectFail != null">#{bluetoothConnectFail},</if>
|
|
|
|
|
<if test="iotVersionUpgrade != null">#{iotVersionUpgrade},</if>
|
|
|
|
|
<if test="sortNo != null">#{sortNo},</if>
|
|
|
|
|
<if test="status != null">#{status},</if>
|
|
|
|
|
@ -211,8 +239,15 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
|
|
<if test="isPurchase != null">is_purchase = #{isPurchase},</if>
|
|
|
|
|
<if test="shoppingAppid != null">shopping_appid = #{shoppingAppid},</if>
|
|
|
|
|
<if test="shoppingPath != null">shopping_path = #{shoppingPath},</if>
|
|
|
|
|
<if test="bluetoothConnectingTitle != null">bluetooth_connecting_title = #{bluetoothConnectingTitle},</if>
|
|
|
|
|
<if test="bluetoothConnectingContent != null">bluetooth_connecting_content = #{bluetoothConnectingContent},</if>
|
|
|
|
|
<if test="bluetoothConnecting != null">bluetooth_connecting = #{bluetoothConnecting},</if>
|
|
|
|
|
<if test="bluetoothClosedTitle != null">bluetooth_closed_title = #{bluetoothClosedTitle},</if>
|
|
|
|
|
<if test="bluetoothClosedContent != null">bluetooth_closed_content = #{bluetoothClosedContent},</if>
|
|
|
|
|
<if test="bluetoothClosed != null">bluetooth_closed = #{bluetoothClosed},</if>
|
|
|
|
|
<if test="bluetoothConnectFailTitle != null">bluetooth_connect_fail_title = #{bluetoothConnectFailTitle},</if>
|
|
|
|
|
<if test="bluetoothConnectFailContent != null">bluetooth_connect_fail_content = #{bluetoothConnectFailContent},</if>
|
|
|
|
|
<if test="bluetoothConnectFail != null">bluetooth_connect_fail = #{bluetoothConnectFail},</if>
|
|
|
|
|
<if test="iotVersionUpgrade != null">iot_version_upgrade = #{iotVersionUpgrade},</if>
|
|
|
|
|
<if test="sortNo != null">sort_no = #{sortNo},</if>
|
|
|
|
|
<if test="status != null">status = #{status},</if>
|
|
|
|
|
|