Commit 525ac31e by wangli

修改

1 parent 5de64656
...@@ -3,7 +3,11 @@ package com.dituhui.pea.order.dao; ...@@ -3,7 +3,11 @@ package com.dituhui.pea.order.dao;
import com.dituhui.pea.order.entity.OrgBranch; import com.dituhui.pea.order.entity.OrgBranch;
import com.baomidou.mybatisplus.core.mapper.BaseMapper; import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper; import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
@Mapper @Mapper
public interface OrgBranchMPDao extends BaseMapper<OrgBranch> { public interface OrgBranchMPDao extends BaseMapper<OrgBranch> {
@Select("select * from org_branch where branch_id=#{branchId}")
OrgBranch getByBranchId(String branchId);
} }
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!