wu
2024-11-26 fddf1c716af76c2968e08ce11895eaa1c26319a5
springboot-vue3/src/main/java/com/example/springboot/mapper/QueueMapper.java
@@ -1,6 +1,7 @@
package com.example.springboot.mapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.springboot.entity.GlassInfo;
import com.example.springboot.entity.Queue;
import com.example.springboot.entity.RolePermission;
@@ -44,7 +45,8 @@
    @Delete("delete from queue where state<=0")
    void DeleteErrorQueue();
    @Delete("delete from queue where state<=3")
    @Delete("delete from queue where state<1")
    void DeleteQueue();
    @Insert("INSERT into queue  (flowcard,glassId,mateid,glasstype,glasswidth,glassheight,thickness,state,time) VALUES (#{flowcard},#{glassId},#{mateid},#{glasstype},#{glasswidth},#{glassheight},#{thickness},1,NOW())")
    int insertQueueCode(String flowcard,String glassId,int mateid,int glasstype,double glasswidth,double glassheight,double thickness);
}