新增收支项目和结算账户功能

This commit is contained in:
季圣华
2016-11-26 23:22:59 -06:00
parent 55135acaaa
commit 2aaad2bc74
62 changed files with 2727 additions and 204 deletions

View File

@@ -321,4 +321,28 @@
<property name="logService" ref="logService"/>
</bean>
<!--仓管通明细配置结束 -->
</beans>
<!--结算账户配置开始 -->
<bean id="accountService" class="com.jsh.service.basic.AccountService">
<property name="baseDao" ref="baseDao"/>
<property name="accountDao" ref="accountDao"/>
</bean>
<!-- spring整合struts2需要默认为request或者 prototype不能是单例 -->
<bean id="accountAction" class="com.jsh.action.basic.AccountAction" scope="prototype">
<property name="accountService" ref="accountService"/>
<property name="logService" ref="logService"/>
</bean>
<!--结算账户配置结束 -->
<!--收支项目配置开始 -->
<bean id="inOutItemService" class="com.jsh.service.basic.InOutItemService">
<property name="baseDao" ref="baseDao"/>
<property name="inOutItemDao" ref="inOutItemDao"/>
</bean>
<!-- spring整合struts2需要默认为request或者 prototype不能是单例 -->
<bean id="inOutItemAction" class="com.jsh.action.basic.InOutItemAction" scope="prototype">
<property name="inOutItemService" ref="inOutItemService"/>
<property name="logService" ref="logService"/>
</bean>
<!--收支项目配置结束 -->
</beans>

View File

@@ -47,5 +47,9 @@
<!-- 配置depotHeadDao组件 -->
<bean id="depotHeadDao" parent="daoTemplate" class="com.jsh.dao.materials.DepotHeadDAO"/>
<!-- 配置depotItemDao组件 -->
<bean id="depotItemDao" parent="daoTemplate" class="com.jsh.dao.materials.DepotItemDAO"/>
<bean id="depotItemDao" parent="daoTemplate" class="com.jsh.dao.materials.DepotItemDAO"/>
<!-- 配置accountDao组件 -->
<bean id="accountDao" parent="daoTemplate" class="com.jsh.dao.basic.AccountDAO"/>
<!-- 配置inOutItemDao组件 -->
<bean id="inOutItemDao" parent="daoTemplate" class="com.jsh.dao.basic.InOutItemDAO"/>
</beans>