| | |
| | | void updatePublic(@Param("ispublic") Integer ispublic,@Param("id") Long id); |
| | | |
| | | @Select("<script> " + |
| | | "SELECT * \n" + |
| | | "SELECT t.id,t.msg_content,t.photo_pah,t.phone,t.sendto_user_id,t.sendto_user_name,t.status,t.ispublic," + |
| | | "t.user_id,t.user_account,t.user_name,t.user_phone,t.community_id,t.create_at,t.type, u.phone as user_account \n" + |
| | | "FROM \n" + |
| | | " com_act_message t " + |
| | | " com_act_message t LEFT JOIN sys_user u ON t.user_id = u.user_id " + |
| | | " where t.community_id=#{comActMessageVO.communityId}\n" + |
| | | "<if test='comActMessageVO.userAccount != null and comActMessageVO.userAccount.trim() != ""'>" + |
| | | " and t.user_account=#{comActMessageVO.userAccount} \n" + |
| | |
| | | records.forEach(comActMessageVO1 -> { |
| | | Long id = comActMessageVO1.getId(); |
| | | List<ComActMessageBackVO> list = comActMessageDAO.selectMsgBackList(id); |
| | | |
| | | comActMessageVO1.setBackList(list); |
| | | }); |
| | | iPage.setRecords(records); |
| | |
| | | import java.math.BigDecimal; |
| | | import java.text.SimpleDateFormat; |
| | | import java.util.ArrayList; |
| | | import java.util.Calendar; |
| | | import java.util.Date; |
| | | import java.util.List; |
| | | |
| | |
| | | comShopOrderDO.setDeliveryStatus(2); |
| | | comShopOrderDO.setDeliveryType(2); |
| | | comShopOrderDO.setStatus(3); |
| | | comShopOrderDO.setDeliveryTime(Calendar.getInstance().getTime()); |
| | | comShopOrderDO.setLogisticsCompany(orderShipDTO.getLogisticsCompany()); |
| | | comShopOrderDO.setLogisticsNo(orderShipDTO.getLogisticsNo()); |
| | | int updated = comShopOrderDAO.updateById(comShopOrderDO); |
| | |
| | | comShopOrderDO.setDeliveryStatus(4); |
| | | comShopOrderDO.setDeliveryType(1); |
| | | comShopOrderDO.setStatus(3); |
| | | comShopOrderDO.setDeliveryTime(Calendar.getInstance().getTime()); |
| | | int updated = comShopOrderDAO.updateById(comShopOrderDO); |
| | | if(updated==1){ |
| | | |