提交 98081be1 作者: 余乾开

Merge branch 'develop'

...@@ -16,5 +16,5 @@ patches: ...@@ -16,5 +16,5 @@ patches:
name: ims-svc name: ims-svc
images: images:
- name: REGISTRY/NAMESPACE/IMAGE:TAG - name: REGISTRY/NAMESPACE/IMAGE:TAG
newName: mmc-registry.cn-shenzhen.cr.aliyuncs.com/sharefly/ims newName: mmc-registry.cn-shenzhen.cr.aliyuncs.com/sharefly-dev/ims
newTag: e808927275ea9039eb60fca038d88eee63183d9f newTag: 22e5dcdd0bd2ade526032be0291855d8821edb37
...@@ -45,7 +45,8 @@ public class RequirementsServiceImpl implements RequirementsService { ...@@ -45,7 +45,8 @@ public class RequirementsServiceImpl implements RequirementsService {
public ResultBody publish(RequirementsInfoVO requirementsInfoVO) { public ResultBody publish(RequirementsInfoVO requirementsInfoVO) {
//是否完成认证 //是否完成认证
UserAccountSimpleDTO userAccountSimpleDTO = userAppApi.feignGetUserSimpleInfo(requirementsInfoVO.getUserAccountId()); UserAccountSimpleDTO userAccountSimpleDTO = userAppApi.feignGetUserSimpleInfo(requirementsInfoVO.getUserAccountId());
if (userAccountSimpleDTO == null || !userAccountSimpleDTO.getCompanyAuthStatus().equals("1")){ log.info("userAccountSimpleDTO: " + JSONObject.toJSON(userAccountSimpleDTO));
if (userAccountSimpleDTO == null || !userAccountSimpleDTO.getCompanyAuthStatus().toString().equals("1")){
return ResultBody.error(ResultEnum.COMPANY_NOT_VERIFY_ERROR); return ResultBody.error(ResultEnum.COMPANY_NOT_VERIFY_ERROR);
} }
RequirementsInfoDO requirementsInfoDO = new RequirementsInfoDO(requirementsInfoVO); RequirementsInfoDO requirementsInfoDO = new RequirementsInfoDO(requirementsInfoVO);
......
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
</foreach> </foreach>
</if> </if>
<if test="date != null "> <if test="date != null ">
Date(create_time) = #{date} and Date(create_time) = #{date}
</if> </if>
</select> </select>
...@@ -36,7 +36,7 @@ ...@@ -36,7 +36,7 @@
</foreach> </foreach>
</if> </if>
<if test="date != null "> <if test="date != null ">
Date(create_time) = #{date} and Date(create_time) = #{date}
</if> </if>
order by create_time desc order by create_time desc
limit #{pageNo}, #{pageSize} limit #{pageNo}, #{pageSize}
......
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
</foreach> </foreach>
</if> </if>
<if test="date != null "> <if test="date != null ">
Date(create_time) = #{date} and Date(create_time) = #{date}
</if> </if>
</select> </select>
...@@ -35,7 +35,7 @@ ...@@ -35,7 +35,7 @@
</foreach> </foreach>
</if> </if>
<if test="date != null "> <if test="date != null ">
Date(create_time) = #{date} and Date(create_time) = #{date}
</if> </if>
order by create_time desc order by create_time desc
limit #{pageNo}, #{pageSize} limit #{pageNo}, #{pageSize}
......
...@@ -26,16 +26,16 @@ ...@@ -26,16 +26,16 @@
select count(*) from requirements_info select count(*) from requirements_info
where is_deleted = 0 where is_deleted = 0
<if test="date != null "> <if test="date != null ">
Date(create_time) = #{date} and Date(create_time) = #{date}
</if> </if>
<if test="provinceCode != null "> <if test="provinceCode != null ">
province_code = #{provinceCode} and province_code = #{provinceCode}
</if> </if>
<if test="cityCode != null "> <if test="cityCode != null ">
city_code = #{cityCode} and city_code = #{cityCode}
</if> </if>
<if test="districtCode != null "> <if test="districtCode != null ">
district_code = #{districtCode} and district_code = #{districtCode}
</if> </if>
</select> </select>
...@@ -46,23 +46,23 @@ ...@@ -46,23 +46,23 @@
publish_name, publish_name,
publish_phone, publish_phone,
require_description, require_description,
is_solved, is_solved as solved,
is_deleted, is_deleted as deleted,
create_time, create_time,
update_time update_time
from requirements_info from requirements_info
where is_deleted = 0 where is_deleted = 0
<if test="date != null "> <if test="date != null ">
Date(create_time) = #{date} and Date(create_time) = #{date}
</if> </if>
<if test="provinceCode != null "> <if test="provinceCode != null ">
province_code = #{provinceCode} and province_code = #{provinceCode}
</if> </if>
<if test="cityCode != null "> <if test="cityCode != null ">
city_code = #{cityCode} and city_code = #{cityCode}
</if> </if>
<if test="districtCode != null "> <if test="districtCode != null ">
district_code = #{districtCode} and district_code = #{districtCode}
</if> </if>
order by create_time desc order by create_time desc
limit #{pageNo}, #{pageSize} limit #{pageNo}, #{pageSize}
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论