法规月报--状态数据字典, 主要面时间
This commit is contained in:
+1
-1
@@ -122,7 +122,7 @@ public class LawsMonthlyReportWriteEO implements Serializable {
|
|||||||
/**状态*/
|
/**状态*/
|
||||||
@Excel(name = "状态", width = 15)
|
@Excel(name = "状态", width = 15)
|
||||||
@ApiModelProperty(value = "状态")
|
@ApiModelProperty(value = "状态")
|
||||||
@Dict(dicCode = "state")
|
@Dict(dicCode = "fa3_gui1_yue4_bao4_tian2_xie3_-_-_zhuang4_tai4")
|
||||||
private java.lang.String state;
|
private java.lang.String state;
|
||||||
|
|
||||||
/**用法*/
|
/**用法*/
|
||||||
|
|||||||
+4
-4
@@ -1050,10 +1050,10 @@ public class LawsMonthlyReportWriteEOServiceImpl extends ServiceImpl<LawsMonthly
|
|||||||
|
|
||||||
String year = lawsMonthlyReportWriteEOS.get(0).getMonth().split("-")[0];
|
String year = lawsMonthlyReportWriteEOS.get(0).getMonth().split("-")[0];
|
||||||
String mothNew = lawsMonthlyReportWriteEOS.get(0).getMonth().split("-")[1];
|
String mothNew = lawsMonthlyReportWriteEOS.get(0).getMonth().split("-")[1];
|
||||||
int mothLast = Integer.valueOf(mothNew) + 1;
|
int mothLast = Integer.valueOf(mothNew) - 1;
|
||||||
|
|
||||||
//添加说明 2022/7/15 至 2022/8/14 期间发布的主要内容
|
//添加说明 2022/7/15 至 2022/8/14 期间发布的主要内容
|
||||||
String text = year + "/" + mothNew +"/15 至 "+year+"/"+mothLast+"/14期间发布的主要内容";
|
String text = year + "/" + mothLast +"/15 至 "+year+"/"+mothNew+"/14期间发布的主要内容";
|
||||||
WordUtil.exportWord(document, text, null, ParagraphAlignment.CENTER, 0, 11,
|
WordUtil.exportWord(document, text, null, ParagraphAlignment.CENTER, 0, 11,
|
||||||
false, false, "Blue Sky Noto Regular",null,null,flag);
|
false, false, "Blue Sky Noto Regular",null,null,flag);
|
||||||
|
|
||||||
@@ -1113,7 +1113,7 @@ public class LawsMonthlyReportWriteEOServiceImpl extends ServiceImpl<LawsMonthly
|
|||||||
|
|
||||||
String year = lawsMonthlyReportWriteEOS.get(0).getMonth().split("-")[0];
|
String year = lawsMonthlyReportWriteEOS.get(0).getMonth().split("-")[0];
|
||||||
String mothNew = lawsMonthlyReportWriteEOS.get(0).getMonth().split("-")[1];
|
String mothNew = lawsMonthlyReportWriteEOS.get(0).getMonth().split("-")[1];
|
||||||
int mothLast = Integer.valueOf(mothNew) + 1;
|
int mothLast = Integer.valueOf(mothNew) - 1;
|
||||||
String moth = mothNew+"/"+year;
|
String moth = mothNew+"/"+year;
|
||||||
String mothNewEn = getMothEn(mothNew);
|
String mothNewEn = getMothEn(mothNew);
|
||||||
String mothLastEn = getMothEn(String.valueOf(mothLast));
|
String mothLastEn = getMothEn(String.valueOf(mothLast));
|
||||||
@@ -1137,7 +1137,7 @@ public class LawsMonthlyReportWriteEOServiceImpl extends ServiceImpl<LawsMonthly
|
|||||||
|
|
||||||
|
|
||||||
//添加说明 Update between July 15, 2022 and August 14, 2022
|
//添加说明 Update between July 15, 2022 and August 14, 2022
|
||||||
String text = "Update between "+mothNewEn+" 15,"+year+" and "+mothLastEn+" 14,"+year;
|
String text = "Update between "+mothLastEn+" 15,"+year+" and "+mothNewEn+" 14,"+year;
|
||||||
WordUtil.exportWord(document, text, null, ParagraphAlignment.CENTER, 0, 11,
|
WordUtil.exportWord(document, text, null, ParagraphAlignment.CENTER, 0, 11,
|
||||||
false, false, "Blue Sky Noto Regular",null,null,flag);
|
false, false, "Blue Sky Noto Regular",null,null,flag);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user