Commit d3164547 authored by neo's avatar neo

[BUGFIX] null for periodid and mysql keyword for cloum name

parent 7ec11571
......@@ -14,6 +14,7 @@ import pwc.taxtech.atms.service.ProjectInfoService;
import java.util.Date;
import java.util.List;
import java.util.UUID;
import static pwc.taxtech.atms.constant.Constant.FIRST_OR_DEFAULT;
......@@ -63,6 +64,7 @@ public class ProjectInfoServiceImpl implements ProjectInfoService {
List<PeriodInfo> periodInfoList =periodInfoMapper.selectByExample(example);
if(periodInfoList==null || periodInfoList.size()==0){
PeriodInfo periodInfo = new PeriodInfo();
periodInfo.setID(UUID.randomUUID().toString());
periodInfo.setProjectID(projectID);
periodInfo.setPeriod(periodID);
periodInfo.setStatus(0);
......
......@@ -104,7 +104,7 @@
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
-->
VoucherID, VID, Date, Group, Period, CustomerCode, CustomerName, Summary, AcctCode,
VoucherID, VID, Date, `Group`, Period, CustomerCode, CustomerName, Summary, AcctCode,
Debit, Credit, Attach, ItemID, CreateTime, ImportType, CreatorID, MonthID, OriginalPeriod,
Status, PartBilledPeriod, BilledPeriod, StdCode, MappingReason, MappingUser, MappingTime,
RemapId
......
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