查询客户nc编码

This commit is contained in:
zhaoqing
2026-06-02 11:42:35 +08:00
parent 3c25329187
commit 047335ccbb
9 changed files with 97 additions and 3 deletions
@@ -6,6 +6,7 @@ import com.mhd.user.domain.userAggregate.entity.UserShipperEntity;
import com.mhd.user.domain.userAggregate.repository.todo.UserShipperDO;
import com.mhd.user.domain.userAggregate.repository.po.UserShipperPo;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import java.util.Date;
import java.util.List;
@@ -36,4 +37,7 @@ public interface UserShipperMapper extends BaseMapper<UserShipperEntity> {
* @return
*/
int updatePushStatus(UserShipperEntity userShipper);
@Select("select customer_nc_code from user_shipper where user_id = #{shipperId}")
String getCustomerNcCode(@Param("shipperId") Long shipperId);
}