Commit aa0a9e11 by 徐高华

企微托管

parent 8efc034c
......@@ -744,7 +744,7 @@ public class QywxOpenTaskController {
if (null == setting) {
return RestResponse.successResult(0);
}
int min = (setting.getAddIntervalEnd() - setting.getAddIntervalStart()) / 2;
int min = (setting.getAddIntervalEnd() + setting.getAddIntervalStart()) / 2;
int hour = Integer.valueOf(setting.getAddTime().split("-")[1].split(":")[0]) -
Integer.valueOf(setting.getAddTime().split("-")[0].split(":")[0]);
int m = (hour * 60 / min);
......
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