Commit 4ed286a9 authored by hongguangwu's avatar hongguangwu

优化导入,精简字段

parent ef0d09f5
...@@ -27,7 +27,7 @@ public interface TSalaryAccountItemMapper extends BaseMapper<TSalaryAccountItem> ...@@ -27,7 +27,7 @@ public interface TSalaryAccountItemMapper extends BaseMapper<TSalaryAccountItem>
List<TSalaryAccountItem> getTSalaryAccountItemPage(@Param("tSalaryAccountItem") TSalaryAccountItem tSalaryAccountItem); List<TSalaryAccountItem> getTSalaryAccountItemPage(@Param("tSalaryAccountItem") TSalaryAccountItem tSalaryAccountItem);
/** /**
* @param settleDepartId * @param deptId
* @param settleMonth * @param settleMonth
* @param javaFiedName * @param javaFiedName
* @Description: 获取报账详情信息 * @Description: 获取报账详情信息
...@@ -35,7 +35,7 @@ public interface TSalaryAccountItemMapper extends BaseMapper<TSalaryAccountItem> ...@@ -35,7 +35,7 @@ public interface TSalaryAccountItemMapper extends BaseMapper<TSalaryAccountItem>
* @Date: 2019/9/29 18:26 * @Date: 2019/9/29 18:26
* @return: java.util.List<com.yifu.cloud.v1.hrms.api.entity.TSalaryAccountItem> * @return: java.util.List<com.yifu.cloud.v1.hrms.api.entity.TSalaryAccountItem>
**/ **/
List<TSalaryAccountItem> getAllTSalaryAccountItem(@Param("settleDepartId") String settleDepartId, List<TSalaryAccountItem> getAllTSalaryAccountItem(@Param("deptId") String deptId,
@Param("settleMonth") String settleMonth, @Param("javaFiedName") String javaFiedName, @Param("settleMonth") String settleMonth, @Param("javaFiedName") String javaFiedName,
@Param("finallyYear") String finallyYear, @Param("empIdcard") String empIdcard, @Param("finallyYear") String finallyYear, @Param("empIdcard") String empIdcard,
@Param("accountId") String accountId); @Param("accountId") String accountId);
...@@ -62,17 +62,17 @@ public interface TSalaryAccountItemMapper extends BaseMapper<TSalaryAccountItem> ...@@ -62,17 +62,17 @@ public interface TSalaryAccountItemMapper extends BaseMapper<TSalaryAccountItem>
List<TSalaryAccountItem> getAllItemVoList(@Param("idCardList") List<String> idCardList, @Param("invoiceTitle") String invoiceTitle); List<TSalaryAccountItem> getAllItemVoList(@Param("idCardList") List<String> idCardList, @Param("invoiceTitle") String invoiceTitle);
/** /**
* @param settleDepartId 结算主体id * @param deptId 结算主体id
* @param javaFiedName 属性名 * @param javaFiedName 属性名
* @param salaryDate 工资月 * @param salaryMonth 工资月
* @param empIdcard 身份证 * @param empIdcard 身份证
* @Description: 获取前几个月总工资 * @Description: 获取前几个月总工资
* @Author: hgw * @Author: hgw
* @Date: 2019/10/29 16:51 * @Date: 2019/10/29 16:51
* @return: java.math.BigDecimal * @return: java.math.BigDecimal
**/ **/
BigDecimal getAllMoney(@Param("settleDepartId") String settleDepartId BigDecimal getAllMoney(@Param("deptId") String deptId
, @Param("javaFiedName") String javaFiedName, @Param("salaryDate") String salaryDate , @Param("javaFiedName") String javaFiedName, @Param("salaryMonth") String salaryMonth
, @Param("empIdcard") String empIdcard); , @Param("empIdcard") String empIdcard);
/** /**
...@@ -97,45 +97,45 @@ public interface TSalaryAccountItemMapper extends BaseMapper<TSalaryAccountItem> ...@@ -97,45 +97,45 @@ public interface TSalaryAccountItemMapper extends BaseMapper<TSalaryAccountItem>
, @Param("javaFiedName") String javaFiedName); , @Param("javaFiedName") String javaFiedName);
/** /**
* @param settleDepartId 结算主体id * @param deptId 结算主体id
* @param javaFiedName 属性名 * @param javaFiedName 属性名
* @param salaryDate 工资月 * @param salaryMonth 工资月
* @param empIdcard 身份证 * @param empIdcard 身份证
* @Description: 获取月份条数(前12个月平均工资,要除以工资月数,这里就是工资月数) * @Description: 获取月份条数(前12个月平均工资,要除以工资月数,这里就是工资月数)
* @Author: hgw * @Author: hgw
* @Date: 2019/10/29 16:51 * @Date: 2019/10/29 16:51
* @return: java.long.Integer * @return: java.long.Integer
**/ **/
Integer getAverageSalaryItemMonthCount(@Param("settleDepartId") String settleDepartId Integer getAverageSalaryItemMonthCount(@Param("deptId") String deptId
, @Param("javaFiedName") String javaFiedName, @Param("salaryDate") String salaryDate , @Param("javaFiedName") String javaFiedName, @Param("salaryMonth") String salaryMonth
, @Param("empIdcard") String empIdcard); , @Param("empIdcard") String empIdcard);
/** /**
* @param settleDepartId 结算主体id * @param deptId 结算主体id
* @param javaFiedName 属性名 * @param javaFiedName 属性名
* @param salaryDate 工资月 * @param salaryMonth 工资月
* @param empIdcard 身份证 * @param empIdcard 身份证
* @Description: 获取前几个月总工资 * @Description: 获取前几个月总工资
* @Author: hgw * @Author: hgw
* @Date: 2019/10/29 16:51 * @Date: 2019/10/29 16:51
* @return: java.math.BigDecimal * @return: java.math.BigDecimal
**/ **/
BigDecimal getEngineerAllMoney(@Param("settleDepartId") String settleDepartId BigDecimal getEngineerAllMoney(@Param("deptId") String deptId
, @Param("javaFiedName") String javaFiedName, @Param("salaryDate") String salaryDate , @Param("javaFiedName") String javaFiedName, @Param("salaryMonth") String salaryMonth
, @Param("empIdcard") String empIdcard); , @Param("empIdcard") String empIdcard);
/** /**
* @param settleDepartId 结算主体id * @param deptId 结算主体id
* @param javaFiedName 属性名 * @param javaFiedName 属性名
* @param salaryDate 工资月 * @param salaryMonth 工资月
* @param empIdcard 身份证 * @param empIdcard 身份证
* @Description: 获取月份条数(前12个月平均工资,要除以工资月数,这里就是工资月数) * @Description: 获取月份条数(前12个月平均工资,要除以工资月数,这里就是工资月数)
* @Author: hgw * @Author: hgw
* @Date: 2019/10/29 16:51 * @Date: 2019/10/29 16:51
* @return: java.long.Integer * @return: java.long.Integer
**/ **/
Integer getEngineerAverageSalaryItemMonthCount(@Param("settleDepartId") String settleDepartId Integer getEngineerAverageSalaryItemMonthCount(@Param("deptId") String deptId
, @Param("javaFiedName") String javaFiedName, @Param("salaryDate") String salaryDate , @Param("javaFiedName") String javaFiedName, @Param("salaryMonth") String salaryMonth
, @Param("empIdcard") String empIdcard); , @Param("empIdcard") String empIdcard);
List<TSalaryAccountItem> getAccountItemList(@Param("tSalaryAccount") TSalaryAccount tSalaryAccount List<TSalaryAccountItem> getAccountItemList(@Param("tSalaryAccount") TSalaryAccount tSalaryAccount
......
...@@ -113,7 +113,7 @@ ...@@ -113,7 +113,7 @@
<select id="getTAttaPage" resultMap="tAttaMap"> <select id="getTAttaPage" resultMap="tAttaMap">
SELECT SELECT
<include refid="selectParams"/> <include refid="selectParams"/>
FROM t_salary_atta FROM t_salary_atta a
<where> <where>
1=1 1=1
<include refid="tSalaryAtta_where"/> <include refid="tSalaryAtta_where"/>
...@@ -125,11 +125,11 @@ ...@@ -125,11 +125,11 @@
<select id="getTAttaList" resultMap="tAttaMap"> <select id="getTAttaList" resultMap="tAttaMap">
SELECT SELECT
<include refid="selectParams"/> <include refid="selectParams"/>
FROM t_salary_atta FROM t_salary_atta a
<where> <where>
1=1 1=1
<include refid="tSalaryAtta_where"/> <include refid="tSalaryAtta_where"/>
</where> </where>
order by CREATE_TIME order by CREATE_TIME desc
</select> </select>
</mapper> </mapper>
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