智慧厨房
This commit is contained in:
parent
bd703a2450
commit
7b37799469
|
|
@ -114,6 +114,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|||
and kdsr.device_time <![CDATA[ <= ]]> #{endDateTime}
|
||||
</if>
|
||||
</where>
|
||||
order by kdsr.device_time desc
|
||||
</select>
|
||||
|
||||
<select id="selectKitchenDeviceSensorRecordByRecordId" parameterType="Long" resultMap="KitchenDeviceSensorRecordResult">
|
||||
|
|
|
|||
|
|
@ -65,6 +65,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|||
and kscr.operate_date <![CDATA[ <= ]]> #{endDateTime}
|
||||
</if>
|
||||
</where>
|
||||
order by operate_date desc
|
||||
</select>
|
||||
|
||||
<select id="selectKitchenSampleCabinetRecordByRecordId" parameterType="Long" resultMap="KitchenSampleCabinetRecordResult">
|
||||
|
|
|
|||
|
|
@ -93,6 +93,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|||
and ksdr.sample_save_time <![CDATA[ <= ]]> #{endDateTime}
|
||||
</if>
|
||||
</where>
|
||||
order by ksdr.record_id desc
|
||||
</select>
|
||||
|
||||
<select id="selectKitchenSampleDishesRecordByRecordId" parameterType="Long" resultMap="KitchenSampleDishesRecordResult">
|
||||
|
|
|
|||
|
|
@ -28,6 +28,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|||
<if test="privilegeName != null and privilegeName != ''"> and privilege_name like concat('%', #{privilegeName}, '%')</if>
|
||||
<if test="privilegeValue != null and privilegeValue != ''"> and privilege_value = #{privilegeValue}</if>
|
||||
</where>
|
||||
order by id
|
||||
</select>
|
||||
|
||||
<select id="selectKitchenStaffDevicePrivilegeById" parameterType="Long" resultMap="KitchenStaffDevicePrivilegeResult">
|
||||
|
|
|
|||
|
|
@ -65,6 +65,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|||
and ksiw.record_time <![CDATA[ <= ]]> #{endDateTime}
|
||||
</if>
|
||||
</where>
|
||||
order by ksiw.record_time desc
|
||||
</select>
|
||||
|
||||
<select id="selectKitchenStaffIllegalWarningByIllegalWarningId" parameterType="Long" resultMap="KitchenStaffIllegalWarningResult">
|
||||
|
|
|
|||
|
|
@ -81,6 +81,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|||
)
|
||||
</if>
|
||||
</where>
|
||||
order by kst.update_time desc
|
||||
</select>
|
||||
|
||||
<select id="selectKitchenStaffInfoByStaffId" parameterType="Long" resultMap="KitchenStaffInfoResult">
|
||||
|
|
|
|||
|
|
@ -65,6 +65,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|||
and ksmc.record_time <![CDATA[ <= ]]> #{endDateTime}
|
||||
</if>
|
||||
</where>
|
||||
order by ksmc.record_time desc
|
||||
</select>
|
||||
|
||||
<select id="selectKitchenStaffMorningCheckByCheckId" parameterType="Long" resultMap="KitchenStaffMorningCheckResult">
|
||||
|
|
|
|||
|
|
@ -56,6 +56,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|||
and kwd.action_date <![CDATA[ <= ]]> #{endDateTime}
|
||||
</if>
|
||||
</where>
|
||||
order by kwd.action_date desc
|
||||
</select>
|
||||
|
||||
<select id="selectKitchenWasteDealByWasteId" parameterType="Long" resultMap="KitchenWasteDealResult">
|
||||
|
|
|
|||
|
|
@ -42,6 +42,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|||
and kwm.ledger_time <![CDATA[ <= ]]> #{endDateTime}
|
||||
</if>
|
||||
</where>
|
||||
order by ledger_time desc
|
||||
</select>
|
||||
|
||||
<select id="selectKitchenWasteMealByLedgerId" parameterType="Long" resultMap="KitchenWasteMealResult">
|
||||
|
|
|
|||
Loading…
Reference in New Issue