package cn.com.ctop.common.module.mapper;

import cn.com.ctop.common.module.entity.MaterialAscription;
import com.alibaba.fastjson.JSONObject;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

/**
 * 素材归属标
 *
 * @author: jeecg-boot
 * @date: 2019-11-23
 * @cersion: V1.0
 */
public interface MaterialAscriptionMapper extends BaseMapper<MaterialAscription> {

    JSONObject selectByMaterialId(@Param("materialId") String materialId);

    void updateBySignature(@Param("signature")String signature,@Param("md5") String md5);

    String getUserIdByCode(@Param("materialId") String materialId);
}
