You can not stay in China continuously for more than 6 months, otherwise your physical presence continuity for the US citizenship will be disrupted. As for whether your green card will be affected or not, here is an artilce for your reference:
http://immigration.wenxuecity.com/BBSView.php?SubID=cdh&MsgID=628