old mode 100644
new mode 100755
| | |
| | | |
| | | |
| | | import com.java110.core.base.smo.BaseServiceSMO; |
| | | import com.java110.core.smo.user.IOwnerAttrInnerServiceSMO; |
| | | import com.java110.dto.PageDto; |
| | | import com.java110.dto.owner.OwnerAttrDto; |
| | | import com.java110.dto.user.UserDto; |
| | | import com.java110.intf.user.IOwnerAttrInnerServiceSMO; |
| | | import com.java110.intf.user.IUserInnerServiceSMO; |
| | | import com.java110.po.owner.OwnerAttrPo; |
| | | import com.java110.user.dao.IOwnerAttrServiceDao; |
| | | import com.java110.utils.util.BeanConvertUtil; |
| | | import com.java110.utils.util.StringUtil; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.web.bind.annotation.RequestBody; |
| | | import org.springframework.web.bind.annotation.RestController; |
| | |
| | | BeanConvertUtil.covertBean(user, ownerAttr); |
| | | } |
| | | } |
| | | |
| | | if (StringUtil.isEmpty(ownerAttr.getValueName())) { |
| | | ownerAttr.setValueName(ownerAttr.getValue()); |
| | | } |
| | | } |
| | | |
| | | /** |
| | |
| | | public int queryOwnerAttrsCount(@RequestBody OwnerAttrDto ownerAttrDto) { |
| | | return ownerAttrServiceDaoImpl.queryOwnerAttrsCount(BeanConvertUtil.beanCovertMap(ownerAttrDto)); |
| | | } |
| | | @Override |
| | | public int saveOwnerAttr(@RequestBody OwnerAttrPo ownerAttrPo) { |
| | | return ownerAttrServiceDaoImpl.saveOwnerAttr(BeanConvertUtil.beanCovertMap(ownerAttrPo)); |
| | | } |
| | | @Override |
| | | public int updateOwnerAttrInfoInstance(@RequestBody OwnerAttrPo ownerAttrPo) { |
| | | return ownerAttrServiceDaoImpl.updateOwnerAttrInfoInstance(BeanConvertUtil.beanCovertMap(ownerAttrPo)); |
| | | } |
| | | |
| | | public IOwnerAttrServiceDao getOwnerAttrServiceDaoImpl() { |
| | | return ownerAttrServiceDaoImpl; |