|
@ -359,7 +359,7 @@ public class JobController extends BaseController {
|
|
|
public String reOrderExpressJob() {
|
|
|
try {
|
|
|
quartzHelper.startNow(SFExpressJob.class, "SFEXPRESS-REORDER", null);
|
|
|
return write(200, "");
|
|
|
return write(200, "启动成功");
|
|
|
} catch (Exception e) {
|
|
|
error(e);
|
|
|
return error(-1, e.getMessage());
|
|
@ -381,7 +381,7 @@ public class JobController extends BaseController {
|
|
|
|
|
|
try {
|
|
|
quartzHelper.startNow(ZyDictJob.class, UUID.randomUUID().toString(), null);
|
|
|
return write(200, "");
|
|
|
return write(200, "启动成功");
|
|
|
} catch (Exception e) {
|
|
|
error(e);
|
|
|
return error(-1, e.getMessage());
|
|
@ -398,7 +398,28 @@ public class JobController extends BaseController {
|
|
|
public String executeSickSettleJob() {
|
|
|
try {
|
|
|
quartzHelper.startNow(PrescriptionExecuteSickSettleJob.class, "ZY-SICK-SETTLE", null);
|
|
|
return write(200, "");
|
|
|
return write(200, "启动成功");
|
|
|
} catch (Exception e) {
|
|
|
error(e);
|
|
|
return error(-1, e.getMessage());
|
|
|
}
|
|
|
}
|
|
|
|
|
|
|
|
|
/**
|
|
|
* 立即启动支付超时过期
|
|
|
* @Author Linyx
|
|
|
* @params method
|
|
|
* @Date 2017/8/14 11:07
|
|
|
* @Description:
|
|
|
*/
|
|
|
@RequestMapping(value = "/prescriptionPayOverdueJobStartNow", method = RequestMethod.POST)
|
|
|
@ApiOperation("立即启动支付超时过期")
|
|
|
public String prescriptionPayOverdueJobStartNow() {
|
|
|
|
|
|
try {
|
|
|
quartzHelper.startNow(PrescriptionPayOverdueJob.class, UUID.randomUUID().toString(), null);
|
|
|
return write(200, "启动成功");
|
|
|
} catch (Exception e) {
|
|
|
error(e);
|
|
|
return error(-1, e.getMessage());
|