Commit 34bddaef by xiaoyj

增加按订货单编号查询订货单

git-svn-id: svn://192.168.3.233/frms/code/car-service/trunk/car-service@21745 aeb6102e-e053-11e5-9fec-f9ebc45caf4b
1 parent 144cc307
......@@ -35,4 +35,6 @@ public interface SysIndentMapper {
*
*/
List<SysIndent> getIndentListByPage(SysIndent indent);
SysIndent getByIndentNo(String indentNo);
}
\ No newline at end of file
......@@ -92,4 +92,6 @@ public interface IndentService {
List<SysIndent> getIndentListByPage(Page page, SysIndent indent);
List<SysIndentLogModel> listIndentLog(String indentId);
SysIndent getByIndentNo(String indentNo);
}
......@@ -232,4 +232,9 @@ public class IndentServiceImpl implements IndentService {
return sysIndentLogs;
}
@Override
public SysIndent getByIndentNo(String indentNo) {
return indentDao.getByIndentNo(indentNo);
}
}
......@@ -299,4 +299,7 @@
</if>
</where>
</select>
<select id="getByIndentNo" resultMap="BaseResultMap">
SELECT * from sys_indent WHERE indent_no=#{indentNo}
</select>
</mapper>
\ No newline at end of file
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!