还原下误提交 的代码

This commit is contained in:
jianghongdong 2018-07-31 20:12:09 +08:00
parent 2f693e444d
commit d02e729446
2 changed files with 4 additions and 4 deletions

View File

@ -9,7 +9,7 @@
String plan_date = DateAssistant.getToday();
ASObjectModel doTemp = new ASObjectModel("ViLcReviewAuditRentPlanList");
// doTemp.setJboWhere(" O.AUDIT_STATE = 'N'");
doTemp.setJboWhere(" O.AUDIT_STATE = 'N'");
//默认预查询
//只有计划日期未收款的都可以收款
doTemp.setJboWhereWhenNoFilter(" and O.PLAN_DATE <= '"+plan_date+"' and O.COLLECT_STATUS in ('未收款','部分收款') ");

View File

@ -29,7 +29,7 @@ import com.tenwa.comm.util.jboutil.DataOperatorUtil;
*
*/
public class BusinessCancelJob implements Job {
public static String curUserId = "";
private String overDate;
@Override
public void execute(JobExecutionContext arg0) throws JobExecutionException {
@ -90,8 +90,8 @@ public class BusinessCancelJob implements Job {
lcibo.setAttributeValue(LB_CANCLE_INFO.CANCLE_DATE, StringFunction.getTodayNow());
lcibo.setAttributeValue(LB_CANCLE_INFO.CANCLE_RESON,"系统检测到该业务超过合同制作等待发起时间:"+overDate+"天,故自动撤销该业务。");
lcibo.setAttributeValue(LB_CANCLE_INFO.INPUTTIME,StringFunction.getTodayNow());
lcibo.setAttributeValue(LB_CANCLE_INFO.INPUTUSERID,curUserId==""?"system":curUserId);
lcibo.setAttributeValue(LB_CANCLE_INFO.INPUTORGID,curUserId==""?"system":curUserId);
lcibo.setAttributeValue(LB_CANCLE_INFO.INPUTUSERID,"system");
lcibo.setAttributeValue(LB_CANCLE_INFO.INPUTORGID,"system");
lcibo.setAttributeValue(LB_CANCLE_INFO.PROJECT_ID,map.get("ID"));
// lcibo.setAttributeValue(LB_CANCLE_INFO.CANCLE_TYPE,"");
lcibom.saveObject(lcibo);