Commit 87d0aa68 by 徐高华

活码

parent b6c1dac2
package com.gic.haoban.manage.service.service.hm; package com.gic.haoban.manage.service.service.hm;
import com.gic.haoban.manage.service.entity.hm.TabHmLink;
public interface HmLinkService { public interface HmLinkService {
public TabHmLink getByLinkId(Long linkId) ;
} }
package com.gic.haoban.manage.service.service.hm.impl; package com.gic.haoban.manage.service.service.hm.impl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service; import org.springframework.stereotype.Service;
import com.gic.haoban.manage.service.dao.mapper.hm.HmLinkMapper;
import com.gic.haoban.manage.service.entity.hm.TabHmLink;
import com.gic.haoban.manage.service.service.hm.HmLinkService; import com.gic.haoban.manage.service.service.hm.HmLinkService;
@Service @Service
public class HmLinkServiceImpl implements HmLinkService { public class HmLinkServiceImpl implements HmLinkService {
@Autowired
private HmLinkMapper linkMapper;
@Override
public TabHmLink getByLinkId(Long linkId) {
// TODO Auto-generated method stub
return null;
}
} }
...@@ -122,7 +122,4 @@ ...@@ -122,7 +122,4 @@
SELECT * FROM tab_haoban_hm_link WHERE link_id = #{linkId} SELECT * FROM tab_haoban_hm_link WHERE link_id = #{linkId}
</select> </select>
<select id="listAll" parameterType="tabHaobanHmLink" resultMap="result-map-tabHaobanHmLink">
select * from tab_haoban_hm_link
</select>
</mapper> </mapper>
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment