feat:通过/失败原因
This commit is contained in:
@@ -1,7 +1,9 @@
|
||||
package com.cool.store.mapper;
|
||||
|
||||
import com.cool.store.entity.ShopAuditInfoDO;
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
import tk.mybatis.mapper.common.Mapper;
|
||||
|
||||
public interface ShopAuditInfoMapper extends Mapper<ShopAuditInfoDO> {
|
||||
ShopAuditInfoDO selectBykeyAndType(@Param("shopId") Long shopId);
|
||||
}
|
||||
@@ -18,4 +18,11 @@
|
||||
<result column="update_time" jdbcType="TIMESTAMP" property="updateTime" />
|
||||
<result column="deleted" jdbcType="BIT" property="deleted" />
|
||||
</resultMap>
|
||||
<select id="selectBykeyAndType" resultType="com.cool.store.entity.ShopAuditInfoDO">
|
||||
select *
|
||||
from xfsg_shop_audit_info
|
||||
where shop_id = #{shopId}
|
||||
and audit_type = 4
|
||||
and deleted = 0
|
||||
</select>
|
||||
</mapper>
|
||||
Reference in New Issue
Block a user