Merge branch 'master-prod-new' of http://1.15.4.62/r/~chenjiahe/phi_platform into master-prod-new
| | |
| | | <update id="updateEditInfo" parameterType="java.util.Map"> |
| | | update treat_project |
| | | set num = #{num}, indication = #{indication} , indicationId = #{indicationId} |
| | | , partType = #{partType}, sdRemark = #{m.sdRemark}, editTime = now() |
| | | , partType = #{partType}, sdRemark = #{sdRemark}, editTime = now() |
| | | where id = #{id} |
| | | </update> |
| | | </mapper> |
| | |
| | | sql.append(" LEFT JOIN shop AS s ON s.id = p.shopId"); |
| | | sql.append(" WHERE p.isDel = #{m.isDel} AND p.isUp = #{m.isUp}"); |
| | | if (!StringUtils.isEmpty(promotionDto.getKeyWord())) { |
| | | sql.append(" AND p.name LIKE #{m.keyWord}"); |
| | | sql.append(" AND ( p.name LIKE #{m.keyWord} or p.code LIKE #{m.keyWord} ) "); |
| | | sqlMap.put("keyWord", "%" + promotionDto.getKeyWord() + "%"); |
| | | } |
| | | sql.append(" ORDER BY p.createTime DESC "); |