| | |
| | | and ouf.receipt_number = #{receiptNumber} |
| | | and ouf.valid_flag = 1 |
| | | </select> |
| | | <select id="countOpeUseFlow" resultType="java.lang.Integer" parameterType="com.nanometer.smartlab.entity.OpeUseFlow"> |
| | | select count(0) |
| | | from ope_use_flow |
| | | where reagent_code = #{reagentCode} |
| | | and status = #{status} |
| | | and house_id = #{houseId} |
| | | and container_id = #{containerId} |
| | | and create_time = #{createTime} |
| | | and operatestate =#{operateState} |
| | | and valid_flag = 1 |
| | | </select> |
| | | |
| | | <insert id="insertOpeUseFlow" parameterType="com.nanometer.smartlab.entity.OpeUseFlow"> |
| | | insert into ope_use_flow(id, reagent_code, status, house_id, container_id, user_id, remainder, place, store_type, valid_flag, create_time, realstatus, operatestate) |