zhangherong
2025-06-25 23855599412c4d61b38d78f0f3abd3430a48b5b1
lxzn-module-mdc/src/main/java/org/jeecg/modules/mdc/mapper/MdcShiftSubMapper.java
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,24 @@
package org.jeecg.modules.mdc.mapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Update;
import org.jeecg.modules.mdc.entity.MdcShiftSub;
/**
 * @Description: ç­æ¬¡è¡¨(次表)
 * @Author: Sake
 * @Date: 2023-04-03 11:57
 */
public interface MdcShiftSubMapper extends BaseMapper<MdcShiftSub> {
    /**
     * æ ¹æ®id修改子表状态
     * @param id
     * @param subStatus
     * @return
     */
    @Update("UPDATE mdc_shift_sub SET shift_sub_status = #{subStatus} WHERE ID = #{id}")
    Boolean updateSubStatusById(@Param("id") String id, @Param("subStatus") String subStatus);
}