
44 changed files with 1904 additions and 875 deletions
@ -0,0 +1,80 @@ |
|||
/********************************************************* |
|||
********************************************************* |
|||
******************** ******************* |
|||
************* ************ |
|||
******* _oo0oo_ ******* |
|||
*** o8888888o *** |
|||
* 88" . "88 * |
|||
* (| -_- |) * |
|||
* 0\ = /0 * |
|||
* ___/`---'\___ * |
|||
* .' \\| |// '. *
|
|||
* / \\||| : |||// \ *
|
|||
* / _||||| -:- |||||- \ * |
|||
* | | \\\ - /// | | *
|
|||
* | \_| ''\---/'' |_/ | * |
|||
* \ .-\__ '-' ___/-. / * |
|||
* ___'. .' /--.--\ `. .'___ * |
|||
* ."" '< `.___\_<|>_/___.' >' "". * |
|||
* | | : `- \`.;`\ _ /`;.`/ - ` : | | * |
|||
* \ \ `_. \_ __\ /__ _/ .-` / / * |
|||
* =====`-.____`.___ \_____/___.-`___.-'===== * |
|||
* `=---=' * |
|||
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * |
|||
*********__佛祖保佑__永无BUG__验收通过__钞票多多__********* |
|||
*********************************************************/ |
|||
package com.yxt.anrui.scm.api.scmspecialrebate; |
|||
|
|||
import com.yxt.common.core.utils.ExportEntityMap; |
|||
import lombok.Data; |
|||
|
|||
@Data |
|||
public class ScmSpecialRebateExcelVo { |
|||
|
|||
@ExportEntityMap(CnName = "序号", EnName = "rankNo") |
|||
private Integer rankNo; |
|||
@ExportEntityMap(CnName = "状态", EnName = "state") |
|||
private String state; |
|||
@ExportEntityMap(CnName = "分公司", EnName = "createOrgName") |
|||
private String createOrgName; |
|||
@ExportEntityMap(CnName = "采购系统", EnName = "purchaseSystemName") |
|||
private String purchaseSystemName; |
|||
@ExportEntityMap(CnName = "品牌", EnName = "brandName") |
|||
private String brandName; |
|||
@ExportEntityMap(CnName = "创建日期", EnName = "createTime") |
|||
private String createTime; |
|||
@ExportEntityMap(CnName = "返利类型", EnName = "rebateTypeValue") |
|||
private String rebateTypeValue; |
|||
@ExportEntityMap(CnName = "返利名称", EnName = "rebateName") |
|||
private String rebateName; |
|||
@ExportEntityMap(CnName = "预计返利", EnName = "estimateRebate") |
|||
private String estimateRebate; |
|||
@ExportEntityMap(CnName = "其中预计费用", EnName = "expectCost") |
|||
private String expectCost; |
|||
@ExportEntityMap(CnName = "所属年月", EnName = "palceGenDate") |
|||
private String palceGenDate; |
|||
@ExportEntityMap(CnName = "预提日期", EnName = "withholdingDate") |
|||
private String withholdingDate; |
|||
@ExportEntityMap(CnName = "上传日期", EnName = "uploadDate") |
|||
private String uploadDate; |
|||
@ExportEntityMap(CnName = "上传金额", EnName = "uploadMoney") |
|||
private String uploadMoney; |
|||
@ExportEntityMap(CnName = "二次上传日期", EnName = "secondaryUploadDate") |
|||
private String secondaryUploadDate; |
|||
@ExportEntityMap(CnName = "二次上传金额", EnName = "secondaryUploadMoney") |
|||
private String secondaryUploadMoney; |
|||
@ExportEntityMap(CnName = "其中待确定金额", EnName = "stayDetermineMoney") |
|||
private String stayDetermineMoney; |
|||
@ExportEntityMap(CnName = "其中费用", EnName = "money") |
|||
private String money; |
|||
@ExportEntityMap(CnName = "差异金额", EnName = "diffAmount") |
|||
private String diffAmount; |
|||
@ExportEntityMap(CnName = "是否调整", EnName = "isAdjustment") |
|||
private String isAdjustment; |
|||
@ExportEntityMap(CnName = "调整金额", EnName = "adjustmentMoney") |
|||
private String adjustmentMoney; |
|||
@ExportEntityMap(CnName = "调整说明", EnName = "adjustmentRemarks") |
|||
private String adjustmentRemarks; |
|||
@ExportEntityMap(CnName = "备注", EnName = "remarks") |
|||
private String remarks; |
|||
} |
@ -0,0 +1,75 @@ |
|||
/********************************************************* |
|||
********************************************************* |
|||
******************** ******************* |
|||
************* ************ |
|||
******* _oo0oo_ ******* |
|||
*** o8888888o *** |
|||
* 88" . "88 * |
|||
* (| -_- |) * |
|||
* 0\ = /0 * |
|||
* ___/`---'\___ * |
|||
* .' \\| |// '. *
|
|||
* / \\||| : |||// \ *
|
|||
* / _||||| -:- |||||- \ * |
|||
* | | \\\ - /// | | *
|
|||
* | \_| ''\---/'' |_/ | * |
|||
* \ .-\__ '-' ___/-. / * |
|||
* ___'. .' /--.--\ `. .'___ * |
|||
* ."" '< `.___\_<|>_/___.' >' "". * |
|||
* | | : `- \`.;`\ _ /`;.`/ - ` : | | * |
|||
* \ \ `_. \_ __\ /__ _/ .-` / / * |
|||
* =====`-.____`.___ \_____/___.-`___.-'===== * |
|||
* `=---=' * |
|||
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * |
|||
*********__佛祖保佑__永无BUG__验收通过__钞票多多__********* |
|||
*********************************************************/ |
|||
package com.yxt.anrui.scm.api.scmspecialrebatecheckapply; |
|||
|
|||
|
|||
import com.yxt.common.core.utils.ExportEntityMap; |
|||
import lombok.Data; |
|||
|
|||
@Data |
|||
public class SpecialRebateCheckExcelVo { |
|||
|
|||
@ExportEntityMap(CnName = "序号", EnName = "rankNo") |
|||
private Integer rankNo; |
|||
@ExportEntityMap(CnName = "分公司", EnName = "createOrgName") |
|||
private String createOrgName; |
|||
@ExportEntityMap(CnName = "采购系统", EnName = "purchaseSystemName") |
|||
private String purchaseSystemName; |
|||
@ExportEntityMap(CnName = "品牌名称", EnName = "brandName") |
|||
private String brandName; |
|||
@ExportEntityMap(CnName = "创建日期", EnName = "createTime") |
|||
private String createTime; |
|||
@ExportEntityMap(CnName = "返利类型", EnName = "rebateTypeValue") |
|||
private String rebateTypeValue; |
|||
@ExportEntityMap(CnName = "返利名称", EnName = "rebateName") |
|||
private String rebateName; |
|||
@ExportEntityMap(CnName = "预计返利", EnName = "estimateRebate") |
|||
private String estimateRebate; |
|||
@ExportEntityMap(CnName = "其中预提费用", EnName = "withholdCost") |
|||
private String withholdCost; |
|||
@ExportEntityMap(CnName = "所属年月", EnName = "palceGenDate") |
|||
private String palceGenDate; |
|||
@ExportEntityMap(CnName = "上传日期", EnName = "uploadDate") |
|||
private String uploadDate; |
|||
@ExportEntityMap(CnName = "上传金额", EnName = "uploadMoney") |
|||
private String uploadMoney; |
|||
@ExportEntityMap(CnName = "二次上传日期", EnName = "secondaryUploadDate") |
|||
private String secondaryUploadDate; |
|||
@ExportEntityMap(CnName = "二次上传金额", EnName = "secondaryUploadMoney") |
|||
private String secondaryUploadMoney; |
|||
@ExportEntityMap(CnName = "其中待确定金额", EnName = "stayDetermineMoney") |
|||
private String stayDetermineMoney; |
|||
@ExportEntityMap(CnName = "其中费用", EnName = "money") |
|||
private String money; |
|||
@ExportEntityMap(CnName = "差异金额", EnName = "diffAmount") |
|||
private String diffAmount; |
|||
@ExportEntityMap(CnName = "是否调整", EnName = "isAdjustment") |
|||
private String isAdjustment; |
|||
@ExportEntityMap(CnName = "调整金额", EnName = "adjustmentMoney") |
|||
private String adjustmentMoney; |
|||
@ExportEntityMap(CnName = "调整说明", EnName = "adjustmentRemarks") |
|||
private String adjustmentRemarks; |
|||
} |
@ -0,0 +1,65 @@ |
|||
/********************************************************* |
|||
********************************************************* |
|||
******************** ******************* |
|||
************* ************ |
|||
******* _oo0oo_ ******* |
|||
*** o8888888o *** |
|||
* 88" . "88 * |
|||
* (| -_- |) * |
|||
* 0\ = /0 * |
|||
* ___/`---'\___ * |
|||
* .' \\| |// '. *
|
|||
* / \\||| : |||// \ *
|
|||
* / _||||| -:- |||||- \ * |
|||
* | | \\\ - /// | | *
|
|||
* | \_| ''\---/'' |_/ | * |
|||
* \ .-\__ '-' ___/-. / * |
|||
* ___'. .' /--.--\ `. .'___ * |
|||
* ."" '< `.___\_<|>_/___.' >' "". * |
|||
* | | : `- \`.;`\ _ /`;.`/ - ` : | | * |
|||
* \ \ `_. \_ __\ /__ _/ .-` / / * |
|||
* =====`-.____`.___ \_____/___.-`___.-'===== * |
|||
* `=---=' * |
|||
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * |
|||
*********__佛祖保佑__永无BUG__验收通过__钞票多多__********* |
|||
*********************************************************/ |
|||
package com.yxt.anrui.scm.api.scmspecialrebatewith; |
|||
|
|||
|
|||
import com.yxt.common.core.utils.ExportEntityMap; |
|||
import lombok.Data; |
|||
|
|||
import java.math.BigDecimal; |
|||
|
|||
@Data |
|||
public class SpectalRebateWithExcelVo { |
|||
|
|||
@ExportEntityMap(CnName = "序号", EnName = "rankNo") |
|||
private Integer rankNo; |
|||
@ExportEntityMap(CnName = "分公司", EnName = "useOrgName") |
|||
private String useOrgName; |
|||
@ExportEntityMap(CnName = "采购系统", EnName = "purchaseSystemName") |
|||
private String purchaseSystemName; |
|||
@ExportEntityMap(CnName = "品牌名称", EnName = "brandName") |
|||
private String brandName; |
|||
@ExportEntityMap(CnName = "创建日期", EnName = "createTime") |
|||
private String createTime; |
|||
@ExportEntityMap(CnName = "返利类型", EnName = "rebateTypeValue") |
|||
private String rebateTypeValue; |
|||
@ExportEntityMap(CnName = "返利名称", EnName = "rebateName") |
|||
private String rebateName; |
|||
@ExportEntityMap(CnName = "预计返利", EnName = "estimateRebate") |
|||
private String estimateRebate; |
|||
@ExportEntityMap(CnName = "其中支出费用", EnName = "expectItureCost") |
|||
private BigDecimal expectItureCost; |
|||
@ExportEntityMap(CnName = "其中待支付费用", EnName = "expectTreatCost") |
|||
private BigDecimal expectTreatCost; |
|||
@ExportEntityMap(CnName = "其中抵顶费用", EnName = "expectSuppCost") |
|||
private BigDecimal expectSuppCost; |
|||
@ExportEntityMap(CnName = "抵顶费用说明", EnName = "expectSuppRemark") |
|||
private String expectSuppRemark; |
|||
@ExportEntityMap(CnName = "所属年月", EnName = "palceGenDate") |
|||
private String palceGenDate; |
|||
@ExportEntityMap(CnName = "备注", EnName = "remarks") |
|||
private String remarks; |
|||
} |
@ -0,0 +1,92 @@ |
|||
/********************************************************* |
|||
********************************************************* |
|||
******************** ******************* |
|||
************* ************ |
|||
******* _oo0oo_ ******* |
|||
*** o8888888o *** |
|||
* 88" . "88 * |
|||
* (| -_- |) * |
|||
* 0\ = /0 * |
|||
* ___/`---'\___ * |
|||
* .' \\| |// '. *
|
|||
* / \\||| : |||// \ *
|
|||
* / _||||| -:- |||||- \ * |
|||
* | | \\\ - /// | | *
|
|||
* | \_| ''\---/'' |_/ | * |
|||
* \ .-\__ '-' ___/-. / * |
|||
* ___'. .' /--.--\ `. .'___ * |
|||
* ."" '< `.___\_<|>_/___.' >' "". * |
|||
* | | : `- \`.;`\ _ /`;.`/ - ` : | | * |
|||
* \ \ `_. \_ __\ /__ _/ .-` / / * |
|||
* =====`-.____`.___ \_____/___.-`___.-'===== * |
|||
* `=---=' * |
|||
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * |
|||
*********__佛祖保佑__永无BUG__验收通过__钞票多多__********* |
|||
*********************************************************/ |
|||
package com.yxt.anrui.scm.api.scmvehrebate; |
|||
|
|||
import com.yxt.common.core.utils.ExportEntityMap; |
|||
import lombok.Data; |
|||
|
|||
@Data |
|||
public class ScmVehRebateExcelVo { |
|||
|
|||
@ExportEntityMap(CnName = "序号", EnName = "rankNo") |
|||
private Integer rankNo; |
|||
@ExportEntityMap(CnName = "状态", EnName = "state") |
|||
private String state; |
|||
@ExportEntityMap(CnName = "一次核对状态", EnName = "onceCheckState") |
|||
private String onceCheckState; |
|||
@ExportEntityMap(CnName = "分公司", EnName = "createOrgName") |
|||
private String createOrgName; |
|||
@ExportEntityMap(CnName = "品牌", EnName = "brandName") |
|||
private String brandName; |
|||
@ExportEntityMap(CnName = "采购系统", EnName = "purchaseSystemName") |
|||
private String purchaseSystemName; |
|||
@ExportEntityMap(CnName = "车型名称", EnName = "vehModelName") |
|||
private String vehModelName; |
|||
@ExportEntityMap(CnName = "车架号", EnName = "vinNo") |
|||
private String vinNo; |
|||
@ExportEntityMap(CnName = "车辆入库价", EnName = "manufactorSettlementPrice") |
|||
private String manufactorSettlementPrice; |
|||
@ExportEntityMap(CnName = "其中运费", EnName = "freight") |
|||
private String freight; |
|||
@ExportEntityMap(CnName = "创建日期", EnName = "createTime") |
|||
private String createTime; |
|||
@ExportEntityMap(CnName = "返利类型", EnName = "rebateTypeValue") |
|||
private String rebateTypeValue; |
|||
@ExportEntityMap(CnName = "返利名称", EnName = "rebateName") |
|||
private String rebateName; |
|||
@ExportEntityMap(CnName = "计算标准", EnName = "calculationStandard") |
|||
private String calculationStandard; |
|||
@ExportEntityMap(CnName = "预计返利", EnName = "estimateRebate") |
|||
private String estimateRebate; |
|||
@ExportEntityMap(CnName = "其中预计费用", EnName = "expectCost") |
|||
private String expectCost; |
|||
@ExportEntityMap(CnName = "所属年月", EnName = "palceGenDate") |
|||
private String palceGenDate; |
|||
@ExportEntityMap(CnName = "预提日期", EnName = "withholdingDate") |
|||
private String withholdingDate; |
|||
@ExportEntityMap(CnName = "上传日期", EnName = "uploadDate") |
|||
private String uploadDate; |
|||
@ExportEntityMap(CnName = "上传金额", EnName = "uploadMoney") |
|||
private String uploadMoney; |
|||
@ExportEntityMap(CnName = "二次上传日期", EnName = "secondaryUploadDate") |
|||
private String secondaryUploadDate; |
|||
@ExportEntityMap(CnName = "二次上传金额", EnName = "secondaryUploadMoney") |
|||
private String secondaryUploadMoney; |
|||
@ExportEntityMap(CnName = "待确定金额", EnName = "stayDetermineMoney") |
|||
private String stayDetermineMoney; |
|||
@ExportEntityMap(CnName = "费用", EnName = "money") |
|||
private String money; |
|||
@ExportEntityMap(CnName = "是否调整", EnName = "isAdjustment") |
|||
private String isAdjustment; |
|||
@ExportEntityMap(CnName = "差异金额", EnName = "diffAmount") |
|||
private String diffAmount; |
|||
@ExportEntityMap(CnName = "调整金额", EnName = "adjustmentMoney") |
|||
private String adjustmentMoney; |
|||
@ExportEntityMap(CnName = "调整说明", EnName = "adjustmentRemarks") |
|||
private String adjustmentRemarks; |
|||
@ExportEntityMap(CnName = "备注", EnName = "remarks") |
|||
private String remarks; |
|||
} |
@ -0,0 +1,83 @@ |
|||
/********************************************************* |
|||
********************************************************* |
|||
******************** ******************* |
|||
************* ************ |
|||
******* _oo0oo_ ******* |
|||
*** o8888888o *** |
|||
* 88" . "88 * |
|||
* (| -_- |) * |
|||
* 0\ = /0 * |
|||
* ___/`---'\___ * |
|||
* .' \\| |// '. *
|
|||
* / \\||| : |||// \ *
|
|||
* / _||||| -:- |||||- \ * |
|||
* | | \\\ - /// | | *
|
|||
* | \_| ''\---/'' |_/ | * |
|||
* \ .-\__ '-' ___/-. / * |
|||
* ___'. .' /--.--\ `. .'___ * |
|||
* ."" '< `.___\_<|>_/___.' >' "". * |
|||
* | | : `- \`.;`\ _ /`;.`/ - ` : | | * |
|||
* \ \ `_. \_ __\ /__ _/ .-` / / * |
|||
* =====`-.____`.___ \_____/___.-`___.-'===== * |
|||
* `=---=' * |
|||
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * |
|||
*********__佛祖保佑__永无BUG__验收通过__钞票多多__********* |
|||
*********************************************************/ |
|||
package com.yxt.anrui.scm.api.scmvehrebatecheckapply; |
|||
|
|||
|
|||
import com.yxt.common.core.utils.ExportEntityMap; |
|||
import lombok.Data; |
|||
|
|||
import java.math.BigDecimal; |
|||
|
|||
@Data |
|||
public class VehRebateCheckExcelVo { |
|||
|
|||
@ExportEntityMap(CnName = "序号", EnName = "rankNo") |
|||
private Integer rankNo; |
|||
@ExportEntityMap(CnName = "采购系统", EnName = "purchaseSystemName") |
|||
private String purchaseSystemName; |
|||
@ExportEntityMap(CnName = "品牌名称", EnName = "brandName") |
|||
private String brandName; |
|||
@ExportEntityMap(CnName = "车型名称", EnName = "vehModelName") |
|||
private String vehModelName; |
|||
@ExportEntityMap(CnName = "车架号", EnName = "vinNo") |
|||
private String vinNo; |
|||
@ExportEntityMap(CnName = "车辆入库价", EnName = "manufactorSettlementPrice") |
|||
private String manufactorSettlementPrice; |
|||
@ExportEntityMap(CnName = "其中运费", EnName = "freight") |
|||
private String freight; |
|||
@ExportEntityMap(CnName = "创建日期", EnName = "createTime") |
|||
private String createTime; |
|||
@ExportEntityMap(CnName = "返利类型", EnName = "rebateTypeValue") |
|||
private String rebateTypeValue; |
|||
@ExportEntityMap(CnName = "返利名称", EnName = "rebateName") |
|||
private String rebateName; |
|||
@ExportEntityMap(CnName = "预计返利", EnName = "estimateRebate") |
|||
private String estimateRebate; |
|||
@ExportEntityMap(CnName = "其中预提费用", EnName = "withholdCost") |
|||
private String withholdCost; |
|||
@ExportEntityMap(CnName = "所属年月", EnName = "palceGenDate") |
|||
private String palceGenDate; |
|||
@ExportEntityMap(CnName = "上传日期", EnName = "uploadDate") |
|||
private String uploadDate; |
|||
@ExportEntityMap(CnName = "上传金额", EnName = "uploadMoney") |
|||
private String uploadMoney; |
|||
@ExportEntityMap(CnName = "二次上传日期", EnName = "secondaryUploadDate") |
|||
private String secondaryUploadDate; |
|||
@ExportEntityMap(CnName = "二次上传金额", EnName = "secondaryUploadMoney") |
|||
private String secondaryUploadMoney; |
|||
@ExportEntityMap(CnName = "其中待确定金额", EnName = "stayDetermineMoney") |
|||
private String stayDetermineMoney; |
|||
@ExportEntityMap(CnName = "其中费用", EnName = "money") |
|||
private String money; |
|||
@ExportEntityMap(CnName = "差异金额", EnName = "diffAmount") |
|||
private String diffAmount; |
|||
@ExportEntityMap(CnName = "是否调整", EnName = "isAdjustment") |
|||
private String isAdjustment; |
|||
@ExportEntityMap(CnName = "调整金额", EnName = "adjustmentMoney") |
|||
private String adjustmentMoney; |
|||
@ExportEntityMap(CnName = "调整说明", EnName = "adjustmentRemarks") |
|||
private String adjustmentRemarks; |
|||
} |
@ -1,6 +1,12 @@ |
|||
<?xml version="1.0" encoding="UTF-8" ?> |
|||
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> |
|||
<mapper namespace="com.yxt.anrui.oa.biz.oaappendix.OaAppendixMapper"> |
|||
<!-- <where> ${ew.sqlSegment} </where>--> |
|||
<!-- ${ew.customSqlSegment} --> |
|||
<!-- <where> ${ew.sqlSegment} </where>--> |
|||
<!-- ${ew.customSqlSegment} --> |
|||
|
|||
<delete id="deleteByLinkSid"> |
|||
delete |
|||
from oa_appendix |
|||
where linkSid = #{sid} |
|||
</delete> |
|||
</mapper> |
@ -1,42 +1,93 @@ |
|||
<?xml version="1.0" encoding="UTF-8" ?> |
|||
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> |
|||
<mapper namespace="com.yxt.anrui.oa.biz.oamendapply.OaMendApplyMapper"> |
|||
<!-- <where> ${ew.sqlSegment} </where>--> |
|||
<!-- ${ew.customSqlSegment} --> |
|||
<select id="selectPageVo" resultType="com.yxt.anrui.oa.biz.oamendapply.OaMendApplyVo"> |
|||
SELECT * FROM oa_mend_apply <where> ${ew.sqlSegment} </where> |
|||
</select> |
|||
<!-- <where> ${ew.sqlSegment} </where>--> |
|||
<!-- ${ew.customSqlSegment} --> |
|||
<select id="selectPageVo" resultType="com.yxt.anrui.oa.biz.oamendapply.OaMendApplyVo"> |
|||
SELECT oa.sid,oa.remarks, |
|||
oa.time, |
|||
oa.formSid |
|||
ofm.billNo, |
|||
ofm.createByName, |
|||
ofm.deptSid, |
|||
ofm.deptName, |
|||
ofm.useOrgSid, |
|||
ofm.useOrgName, |
|||
DATE_FORMAT(ofm.finishTime) as finishTime, |
|||
ofm.procInstId, |
|||
ofm.procDefId, |
|||
ofm.taskId, |
|||
ofm.nodeId, |
|||
ofm.nodeState |
|||
FROM oa_mend_apply oa |
|||
left join oa_form ofm on oa.formSid = ofm.sid |
|||
<where> |
|||
${ew.sqlSegment} |
|||
</where> |
|||
</select> |
|||
|
|||
<update id="updateFlowFiled"> |
|||
UPDATE oa_mend_apply |
|||
SET nodeState=#{nodeState}, nodeId=#{taskDefKey} |
|||
<if test="nodeState == '已办结' or nodeState == '终止'"> |
|||
, finishTime = NOW() |
|||
</if> |
|||
<if test="procDefId != null and procDefId != ''"> |
|||
, procDefId=#{procDefId} |
|||
</if> |
|||
<if test="procInsId != null and procInsId != ''"> |
|||
, procInstId=#{procInsId} |
|||
</if> |
|||
<if test="taskId != null and taskId != ''"> |
|||
, taskId=#{taskId} |
|||
</if> |
|||
WHERE sid=#{sid} |
|||
</update> |
|||
<update id="updateFlowFiled"> |
|||
UPDATE oa_mend_apply |
|||
SET nodeState=#{nodeState}, nodeId=#{taskDefKey} |
|||
<if test="nodeState == '已办结' or nodeState == '终止'"> |
|||
, finishTime = NOW() |
|||
</if> |
|||
<if test="procDefId != null and procDefId != ''"> |
|||
, procDefId=#{procDefId} |
|||
</if> |
|||
<if test="procInsId != null and procInsId != ''"> |
|||
, procInstId=#{procInsId} |
|||
</if> |
|||
<if test="taskId != null and taskId != ''"> |
|||
, taskId=#{taskId} |
|||
</if> |
|||
WHERE sid=#{sid} |
|||
</update> |
|||
|
|||
<select id="selectBySid" resultType="int"> |
|||
SELECT COUNT(*) |
|||
FROM oa_mend_apply |
|||
WHERE nodeState != '待提交' |
|||
and find_in_set(sid, #{list}) |
|||
</select> |
|||
<select id="selectBySid" resultType="int"> |
|||
SELECT COUNT(*) |
|||
FROM oa_mend_apply |
|||
WHERE nodeState != '待提交' |
|||
and find_in_set(sid, #{list}) |
|||
</select> |
|||
|
|||
<select id="selectNum" resultType="java.lang.String"> |
|||
select RIGHT (billNo, 4) |
|||
from oa_mend_apply |
|||
where billNo LIKE concat(#{billNo}, '%') |
|||
order by billNo desc |
|||
limit 1 |
|||
</select> |
|||
<select id="selectNum" resultType="java.lang.String"> |
|||
select RIGHT(billNo, 4) |
|||
from oa_mend_apply |
|||
where billNo LIKE concat(#{billNo}, '%') |
|||
order by billNo desc |
|||
limit 1 |
|||
</select> |
|||
|
|||
<select id="fetchDetailsVoBySid" resultType="com.yxt.anrui.oa.biz.oamendapply.OaMendApplyDetailsVo"> |
|||
select oa.sid, |
|||
oa.remarks, |
|||
ofm.billNo, |
|||
ofm.createByName, |
|||
ofm.createBySid, |
|||
ofm.deptSid, |
|||
ofm.deptName, |
|||
oa.time, |
|||
ofm.useOrgSid, |
|||
ofm.useOrgName |
|||
from oa_menu_apply oa |
|||
left join oa_form ofm on oa.formSid = ofm.sid |
|||
where oa.sid = #{sid} |
|||
</select> |
|||
|
|||
<select id="init" resultType="com.yxt.anrui.oa.biz.oamendapply.OaMendApplyInitVo"> |
|||
select oa.sid, |
|||
oa.remarks, |
|||
ofm.billNo, |
|||
ofm.createByName, |
|||
ofm.createBySid, |
|||
ofm.deptSid, |
|||
ofm.deptName, |
|||
oa.time, |
|||
ofm.useOrgSid, |
|||
ofm.useOrgName |
|||
from oa_menu_apply oa |
|||
left join oa_form ofm on oa.formSid = ofm.sid |
|||
where oa.sid = #{sid} |
|||
</select> |
|||
</mapper> |
File diff suppressed because it is too large
Loading…
Reference in new issue