|
|
|
@ -15,6 +15,9 @@ import java.util.Map;
|
|
|
|
|
|
|
|
|
|
import static com.api.browser.util.ConditionType.CHECKBOX;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 打开班次基本信息页面时增加一个是否24小时制check按钮
|
|
|
|
|
*/
|
|
|
|
|
@CommandDynamicProxy(target = GetShiftManagementBaseFormCmd.class )
|
|
|
|
|
public class GetShiftManagementBaseFormCmdIntercept extends AbstractCommandProxy<Map<String,Object>> {
|
|
|
|
|
|
|
|
|
@ -60,7 +63,7 @@ public class GetShiftManagementBaseFormCmdIntercept extends AbstractCommandProxy
|
|
|
|
|
scConItem.setDomkey(domkeyArr);
|
|
|
|
|
scConItem.setLabel("是否24小时制班次");
|
|
|
|
|
scConItem.setValue("0");
|
|
|
|
|
scConItem.setHelpfulTip("勾选后,则该班次为24小时制,第一次打开时间到最后一次打卡时间之间的都算做工作时间");
|
|
|
|
|
scConItem.setHelpfulTip("勾选后,则该班次为24小时制,第一次打卡时间到最后一次打卡时间之间的都算做工作时间");
|
|
|
|
|
items.add(scConItem);
|
|
|
|
|
} else {
|
|
|
|
|
basebean.writeLog("shiftMaId not is blank ");
|
|
|
|
@ -71,7 +74,7 @@ public class GetShiftManagementBaseFormCmdIntercept extends AbstractCommandProxy
|
|
|
|
|
String[] domkeyArr = {"is24HourView"};
|
|
|
|
|
scConItem.setDomkey(domkeyArr);
|
|
|
|
|
scConItem.setLabel("是否24小时制班次");
|
|
|
|
|
scConItem.setHelpfulTip("勾选后,则该班次为24小时制,第一次打开时间到最后一次打卡时间之间的都算做工作时间");
|
|
|
|
|
scConItem.setHelpfulTip("勾选后,则该班次为24小时制,第一次打卡时间到最后一次打卡时间之间的都算做工作时间");
|
|
|
|
|
//查询是与否
|
|
|
|
|
Integer is24HourView = -1;
|
|
|
|
|
String acqSql = "select is24HourView from kq_ShiftManagement where id = ?";
|
|
|
|
|