路维光编制需求
This commit is contained in:
parent
53757c880b
commit
00e6883904
|
|
@ -255,11 +255,13 @@ public class StaffDutyServiceImpl extends Service implements StaffDutyService {
|
||||||
.orElse(0);
|
.orElse(0);
|
||||||
|
|
||||||
RecordSetTrans trans = new RecordSetTrans();
|
RecordSetTrans trans = new RecordSetTrans();
|
||||||
|
String currentTime = TimeUtil.getCurrentTimeString();
|
||||||
|
|
||||||
try {
|
try {
|
||||||
trans.setAutoCommit(false);
|
trans.setAutoCommit(false);
|
||||||
|
|
||||||
trans.executeUpdate("update uf_bzjh set zbrs = ?,syrs = ? where id = ?", onJobFrom, restFrom, staffPlanFrom.getId());
|
trans.executeUpdate("update uf_bzjh set zbrs = ?,syrs = ?,modedatamodifydatetime = ? where id = ?", onJobFrom, restFrom,currentTime, staffPlanFrom.getId());
|
||||||
trans.executeUpdate("update uf_bzjh set zbrs = ?,syrs = ? where id = ?", onJobTo, restTo, staffPlanTo.getId());
|
trans.executeUpdate("update uf_bzjh set zbrs = ?,syrs = ?,modedatamodifydatetime = ? where id = ?", onJobTo, restTo,currentTime, staffPlanTo.getId());
|
||||||
trans.commit();
|
trans.commit();
|
||||||
|
|
||||||
}catch (Exception e) {
|
}catch (Exception e) {
|
||||||
|
|
@ -336,7 +338,8 @@ public class StaffDutyServiceImpl extends Service implements StaffDutyService {
|
||||||
private Boolean updateStaffPlan(Integer onJob,Integer rest,Integer id) {
|
private Boolean updateStaffPlan(Integer onJob,Integer rest,Integer id) {
|
||||||
//5.编制计划表更新
|
//5.编制计划表更新
|
||||||
RecordSet rs = new RecordSet();
|
RecordSet rs = new RecordSet();
|
||||||
return rs.executeUpdate("update uf_bzjh set zbrs = ?,syrs = ? where id = ?", onJob, rest, id);
|
String currentTime = TimeUtil.getCurrentTimeString();
|
||||||
|
return rs.executeUpdate("update uf_bzjh set zbrs = ?,syrs = ?,modedatamodifydatetime = ? where id = ?", onJob, rest,currentTime, id);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,7 @@
|
||||||
package test;
|
package test;
|
||||||
|
|
||||||
|
import weaver.general.TimeUtil;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @Author weaver_cl
|
* @Author weaver_cl
|
||||||
* @Description:
|
* @Description:
|
||||||
|
|
@ -9,6 +11,7 @@ package test;
|
||||||
public class MainTest {
|
public class MainTest {
|
||||||
|
|
||||||
public static void main(String[] args) {
|
public static void main(String[] args) {
|
||||||
|
String currentTimeString = TimeUtil.getCurrentTimeString();
|
||||||
|
System.out.println(currentTimeString);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -43,7 +43,6 @@ public class StaffByEndWorkflowAction implements Action {
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
requestInfo.getRequestManager().setMessagecontent(result.getMessage());
|
|
||||||
return Action.SUCCESS;
|
return Action.SUCCESS;
|
||||||
|
|
||||||
// if (result.getStatus()) {
|
// if (result.getStatus()) {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue