|
楼主 |
发表于 2018-9-5 15:27:00
|
显示全部楼层
admin 发表于 2018-8-26 20:55
minidao什么版本? 把代码截图出来
抱歉,现在才看到你的回复。
我用的是minidao-pe-1.6-SNAPSHOT这个版本。
调用的这个方法。下面是插入语句
INSERT INTO
tableName (
id,
schedule_id,
employee_no,
employee_name,
employee_id,
detail_id,
class_name,
area_id,
`level`,
dept_id,
schedule_date,
begin_time,
end_time,
fact_intime,
fact_outtime,
state,
is_work,
departname,
other_day,
is_flight,
is_enable,
create_date,
create_name,
create_by,
update_date,
update_name,
update_by,
sys_org_code,
sys_company_code,
bpm_status,
update_control_id,
remark,
include_child,
is_replace,
replace_emp_id,
replace_emp,
apply_id
) VALUES
<#list scheduleDBakList as scheduleDBak>
<#if !scheduleDBak_has_next>
('${scheduleDBak.id}',
'${scheduleDBak.scheduleId}',
'${scheduleDBak.employeeNo}',
'${scheduleDBak.employeeName}',
'${scheduleDBak.employeeId}',
'${scheduleDBak.detailId}',
'${scheduleDBak.className}',
<#if scheduleDBak.areaId??>
'${scheduleDBak.areaId}',
<#else>
null,
</#if>
'${scheduleDBak.level}',
'${scheduleDBak.deptId}',
'${scheduleDBak.scheduleDate}',
<#if scheduleDBak.beginTime??>
'${scheduleDBak.beginTime}',
<#else>
null,
</#if>
<#if scheduleDBak.endTime??>
'${scheduleDBak.endTime}',
<#else>
null,
</#if>
<#if scheduleDBak.factIntime??>
'${scheduleDBak.factIntime}',
<#else>
null,
</#if>
<#if scheduleDBak.factOuttime??>
'${scheduleDBak.factOuttime}',
<#else>
null,
</#if>
'${scheduleDBak.state}',
'${scheduleDBak.isWork}',
'${scheduleDBak.departname}',
'${scheduleDBak.otherDay}',
'${scheduleDBak.isFlight}',
'${scheduleDBak.isEnable}',
'${scheduleDBak.createDate}',
'${scheduleDBak.createName}',
'${scheduleDBak.createBy}',
'${scheduleDBak.updateDate}',
'${scheduleDBak.updateName}',
'${scheduleDBak.updateBy}',
'${scheduleDBak.sysOrgCode}',
'${scheduleDBak.sysCompanyCode}',
'${scheduleDBak.bpmStatus}',
<#if scheduleDBak.updateControlId??>
'${scheduleDBak.updateControlId}',
<#else>
null,
</#if>
'${scheduleDBak.remark}',
'${scheduleDBak.includeChild}',
'${scheduleDBak.isReplace}',
<#if scheduleDBak.replaceEmpId??>
'${scheduleDBak.replaceEmpId}',
<#else>
null,
</#if>
<#if scheduleDBak.replaceEmp??>
'${scheduleDBak.replaceEmp}',
<#else>
null,
</#if>
'${scheduleDBak.applyId}');
<#else>
('${scheduleDBak.id}',
'${scheduleDBak.scheduleId}',
'${scheduleDBak.employeeNo}',
'${scheduleDBak.employeeName}',
'${scheduleDBak.employeeId}',
'${scheduleDBak.detailId}',
'${scheduleDBak.className}',
<#if scheduleDBak.areaId??>
'${scheduleDBak.areaId}',
<#else>
null,
</#if>
'${scheduleDBak.level}',
'${scheduleDBak.deptId}',
'${scheduleDBak.scheduleDate}',
<#if scheduleDBak.beginTime??>
'${scheduleDBak.beginTime}',
<#else>
null,
</#if>
<#if scheduleDBak.endTime??>
'${scheduleDBak.endTime}',
<#else>
null,
</#if>
<#if scheduleDBak.factIntime??>
'${scheduleDBak.factIntime}',
<#else>
null,
</#if>
<#if scheduleDBak.factOuttime??>
'${scheduleDBak.factOuttime}',
<#else>
null,
</#if>
'${scheduleDBak.state}',
'${scheduleDBak.isWork}',
'${scheduleDBak.departname}',
'${scheduleDBak.otherDay}',
'${scheduleDBak.isFlight}',
'${scheduleDBak.isEnable}',
'${scheduleDBak.createDate}',
'${scheduleDBak.createName}',
'${scheduleDBak.createBy}',
'${scheduleDBak.updateDate}',
'${scheduleDBak.updateName}',
'${scheduleDBak.updateBy}',
'${scheduleDBak.sysOrgCode}',
'${scheduleDBak.sysCompanyCode}',
'${scheduleDBak.bpmStatus}',
<#if scheduleDBak.updateControlId??>
'${scheduleDBak.updateControlId}',
<#else>
null,
</#if>
'${scheduleDBak.remark}',
'${scheduleDBak.includeChild}',
'${scheduleDBak.isReplace}',
<#if scheduleDBak.replaceEmpId??>
'${scheduleDBak.replaceEmpId}',
<#else>
null,
</#if>
<#if scheduleDBak.replaceEmp??>
'${scheduleDBak.replaceEmp}',
<#else>
null,
</#if>
'${scheduleDBak.applyId}'),
</#if>
</#list> |
|