吴学文
2019-07-06 e1f82a23953022c16e8e4d5c9a3af1b4342590e4
时间不能用 != ''来判断
2个文件已修改
12 ■■■■ 已修改文件
WebService/src/main/java/com/java110/web/smo/notice/impl/EditNoticeSMOImpl.java 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
java110-db/src/main/resources/mapper/notice/NoticeServiceDaoImplMapper.xml 10 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebService/src/main/java/com/java110/web/smo/notice/impl/EditNoticeSMOImpl.java
@@ -44,7 +44,7 @@
    protected ResponseEntity<String> doBusinessProcess(IPageData pd, JSONObject paramIn) {
        ResponseEntity<String> responseEntity = null;
        super.validateStoreStaffCommunityRelationship(pd, restTemplate);
        paramIn.put("userId", pd.getUserId());
        responseEntity = this.callCenterService(restTemplate, pd, paramIn.toJSONString(),
                ServiceConstant.SERVICE_API_URL + "/api/notice.updateNotice",
                HttpMethod.POST);
java110-db/src/main/resources/mapper/notice/NoticeServiceDaoImplMapper.xml
@@ -28,7 +28,7 @@
<if test="context !=null and context != ''">
   and t.context= #{context}
</if> 
<if test="startTime !=null and startTime != ''">
<if test="startTime !=null">
   and t.start_time= #{startTime}
</if> 
<if test="communityId !=null and communityId != ''">
@@ -65,7 +65,7 @@
<if test="context !=null and context != ''">
   and t.context= #{context}
</if> 
<if test="startTime !=null and startTime != ''">
<if test="startTime !=null">
   and t.start_time= #{startTime}
</if> 
<if test="communityId !=null and communityId != ''">
@@ -99,7 +99,7 @@
<if test="context !=null and context != ''">
   and t.context= #{context}
</if> 
<if test="startTime !=null and startTime != ''">
<if test="startTime !=null">
   and t.start_time= #{startTime}
</if> 
<if test="statusCd !=null and statusCd != ''">
@@ -141,7 +141,7 @@
<if test="context !=null and context != ''">
, t.context= #{context}
</if> 
<if test="startTime !=null and startTime != ''">
<if test="startTime !=null">
, t.start_time= #{startTime}
</if> 
<if test="communityId !=null and communityId != ''">
@@ -173,7 +173,7 @@
<if test="context !=null and context != ''">
   and t.context= #{context}
</if> 
<if test="startTime !=null and startTime != ''">
<if test="startTime !=null">
   and t.start_time= #{startTime}
</if> 
<if test="statusCd !=null and statusCd != ''">