提交 fac1ea4f 编写于 作者: doc_wei's avatar doc_wei

会计科目接口修改

上级 ed695625
...@@ -272,6 +272,8 @@ public abstract class IfsOrderFactory { ...@@ -272,6 +272,8 @@ public abstract class IfsOrderFactory {
// 获取子表信息 // 获取子表信息
List<Map<String, Object>> beans = ifsCommonDao.queryIfsOrderItemMationDetailsById(orderId); List<Map<String, Object>> beans = ifsCommonDao.queryIfsOrderItemMationDetailsById(orderId);
bean.put("items", beans); bean.put("items", beans);
// 获取经手人员
bean.put("userInfo", sysEveUserStaffDao.queryUserNameList(bean.get("handsPersonId").toString()));
this.queryOrderOtherDetailsMationById(bean); this.queryOrderOtherDetailsMationById(bean);
outputObject.setBean(bean); outputObject.setBean(bean);
outputObject.settotal(1); outputObject.settotal(1);
......
...@@ -114,6 +114,7 @@ ...@@ -114,6 +114,7 @@
<select id="queryIfsOrderMationDetailsById" resultType="java.util.Map"> <select id="queryIfsOrderMationDetailsById" resultType="java.util.Map">
SELECT SELECT
a.id, a.id,
a.hands_person_id handsPersonId,
FORMAT(a.change_amount, 2) changeAmount, FORMAT(a.change_amount, 2) changeAmount,
FORMAT(a.total_price, 2) totalPrice, FORMAT(a.total_price, 2) totalPrice,
a.bill_no billNo, a.bill_no billNo,
...@@ -121,14 +122,12 @@ ...@@ -121,14 +122,12 @@
a.remark, a.remark,
s.supplier supplierName, s.supplier supplierName,
d.`name` customerName, d.`name` customerName,
group_concat(distinct b.user_name) hansPersonName,
t.`name` accountName t.`name` accountName
FROM FROM
ifs_order_head a ifs_order_head a
LEFT JOIN erp_supplier s ON a.organ_id = s.id LEFT JOIN erp_supplier s ON a.organ_id = s.id
LEFT JOIN crm_customer d ON a.organ_id = d.id LEFT JOIN crm_customer d ON a.organ_id = d.id
LEFT JOIN ifs_account t ON a.account_id = t.id LEFT JOIN ifs_account t ON a.account_id = t.id
LEFT JOIN sys_eve_user_staff b ON INSTR(CONCAT(',', a.hands_person_id, ','), CONCAT(',', b.user_id, ','))
WHERE WHERE
a.delete_flag = '0' a.delete_flag = '0'
AND a.id = #{orderId} AND a.id = #{orderId}
......
...@@ -202,7 +202,7 @@ ...@@ -202,7 +202,7 @@
<!-- 收支项目管理结束 --> <!-- 收支项目管理结束 -->
<!-- 会计科目管理开始 --> <!-- 会计科目管理开始 -->
<url id="ifsaccountsubject001" path="/post/IfsAccountSubjectController/queryIfsAccountSubjectList" val="查询会计科目列表信息" allUse="1" method="POST" groupName="会计科目管理"> <url id="ifsaccountsubject001" path="/post/IfsAccountSubjectController/queryIfsAccountSubjectList" val="查询会计科目列表信息" allUse="2" method="POST" groupName="会计科目管理">
<property id="name" name="name" ref="" var="会计科目名称" /> <property id="name" name="name" ref="" var="会计科目名称" />
<property id="state" name="state" ref="" var="状态" /> <property id="state" name="state" ref="" var="状态" />
<property id="type" name="type" ref="" var="类型" /> <property id="type" name="type" ref="" var="类型" />
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册